CFLAGS=$(CFLAGS_RELEASE)\r
\r
DFLAGS_RELEASE=-release -O -inline -w -nofloat $(ADD_DFLAGS)\r
-DFLAGS_DEBUG=-debug -g -w -nofloat $(ADD_DFLAGS)\r
+DFLAGS_DEBUG=-g -w -nofloat $(ADD_DFLAGS)\r
DFLAGS=$(DFLAGS_RELEASE)\r
\r
TFLAGS_RELEASE=-O -inline -w -nofloat $(ADD_DFLAGS)\r
-TFLAGS_DEBUG=-debug -g -w -nofloat $(ADD_DFLAGS)\r
+TFLAGS_DEBUG=-g -w -nofloat $(ADD_DFLAGS)\r
TFLAGS=$(TFLAGS_RELEASE)\r
\r
DOCFLAGS=-version=DDoc\r
ADD_DFLAGS=\r
\r
CFLAGS_RELEASE=-mn -6 -r $(ADD_CFLAGS)\r
-CFLAGS_DEBUG=-D -g -mn -6 -r $(ADD_CFLAGS)\r
+CFLAGS_DEBUG=-g -mn -6 -r $(ADD_CFLAGS)\r
CFLAGS=$(CFLAGS_RELEASE)\r
\r
DFLAGS_RELEASE=-release -O -inline -w -nofloat $(ADD_DFLAGS)\r
-DFLAGS_DEBUG=-debug -g -w -nofloat $(ADD_DFLAGS)\r
+DFLAGS_DEBUG=-g -w -nofloat $(ADD_DFLAGS)\r
DFLAGS=$(DFLAGS_RELEASE)\r
\r
TFLAGS_RELEASE=-O -inline -w -nofloat $(ADD_DFLAGS)\r
-TFLAGS_DEBUG=-debug -g -w -nofloat $(ADD_DFLAGS)\r
+TFLAGS_DEBUG=-g -w -nofloat $(ADD_DFLAGS)\r
TFLAGS=$(TFLAGS_RELEASE)\r
\r
DOCFLAGS=-version=DDoc\r
CFLAGS=$(CFLAGS_RELEASE)
DFLAGS_RELEASE=-release -O -inline -w -nofloat $(ADD_DFLAGS)
-DFLAGS_DEBUG=-debug -g -w -nofloat $(ADD_DFLAGS)
+DFLAGS_DEBUG=-g -w -nofloat $(ADD_DFLAGS)
DFLAGS=$(DFLAGS_RELEASE)
TFLAGS_RELEASE=-O -inline -w -nofloat $(ADD_DFLAGS)
-TFLAGS_DEBUG=-debug -g -w -nofloat $(ADD_DFLAGS)
+TFLAGS_DEBUG=-g -w -nofloat $(ADD_DFLAGS)
TFLAGS=$(TFLAGS_RELEASE)
DOCFLAGS=-version=DDoc
ADD_DFLAGS=
CFLAGS_RELEASE=-mn -6 -r $(ADD_CFLAGS)
-CFLAGS_DEBUG=-D -g -mn -6 -r $(ADD_CFLAGS)
+CFLAGS_DEBUG=-g -mn -6 -r $(ADD_CFLAGS)
CFLAGS=$(CFLAGS_RELEASE)
DFLAGS_RELEASE=-release -O -inline -w -nofloat $(ADD_DFLAGS)
-DFLAGS_DEBUG=-debug -g -w -nofloat $(ADD_DFLAGS)
+DFLAGS_DEBUG=-g -w -nofloat $(ADD_DFLAGS)
DFLAGS=$(DFLAGS_RELEASE)
TFLAGS_RELEASE=-O -inline -w -nofloat $(ADD_DFLAGS)
-TFLAGS_DEBUG=-debug -g -w -nofloat $(ADD_DFLAGS)
+TFLAGS_DEBUG=-g -w -nofloat $(ADD_DFLAGS)
TFLAGS=$(TFLAGS_RELEASE)
DOCFLAGS=-version=DDoc
unittest :
make -fdmd-posix.mak lib MAKE_LIB="unittest"
- dmd -unittest main ../import/core/stdc/stdarg -defaultlib="$(DUP_TARGET)" -debuglib="$(DUP_TARGET)"
+ dmd -unittest unittest ../import/core/stdc/stdarg -defaultlib="$(DUP_TARGET)" -debuglib="$(DUP_TARGET)"
$(RM) stdarg.o
- main
+ unittest
release :
make -fdmd-posix.mak lib MAKE_LIB="release"
make -C $(DIR_GC) -fposix.mak clean
$(RM) $(LIB_MASK)
$(RM) $(DUP_MASK)
- $(RM) main main.o
+ $(RM) unittest unittest.o
install :
make -C $(DIR_CC) -fposix.mak install
unittest :
make -fdmd-win32.mak lib MAKE_LIB="unittest"
- dmd -unittest main ..\import\core\stdc\stdarg -defaultlib="$(DUP_TARGET)" -debuglib="$(DUP_TARGET)"
+ dmd -unittest unittest ..\import\core\stdc\stdarg -defaultlib="$(DUP_TARGET)" -debuglib="$(DUP_TARGET)"
$(RM) stdarg.obj
- main
+ unittest
release :
make -fdmd-win32.mak lib MAKE_LIB="release"
cd ..\..
$(RM) $(LIB_MASK)
$(RM) $(DUP_MASK)
- $(RM) main.exe main.obj main.map
+ $(RM) unittest.exe unittest.obj unittest.map
install :
cd $(DIR_CC)
CFLAGS=$(CFLAGS_RELEASE)
DFLAGS_RELEASE=-release -O -inline -w -nofloat $(ADD_DFLAGS)
-DFLAGS_DEBUG=-debug -g -w -nofloat $(ADD_DFLAGS)
+DFLAGS_DEBUG=-g -w -nofloat $(ADD_DFLAGS)
DFLAGS=$(DFLAGS_RELEASE)
TFLAGS_RELEASE=-O -inline -w -nofloat $(ADD_DFLAGS)
-TFLAGS_DEBUG=-debug -g -w -nofloat $(ADD_DFLAGS)
+TFLAGS_DEBUG=-g -w -nofloat $(ADD_DFLAGS)
TFLAGS=$(TFLAGS_RELEASE)
DOCFLAGS=-version=DDoc
ADD_DFLAGS=
CFLAGS_RELEASE=-mn -6 -r $(ADD_CFLAGS)
-CFLAGS_DEBUG=-D -g -mn -6 -r $(ADD_CFLAGS)
+CFLAGS_DEBUG=-g -mn -6 -r $(ADD_CFLAGS)
CFLAGS=$(CFLAGS_RELEASE)
DFLAGS_RELEASE=-release -O -inline -w -nofloat $(ADD_DFLAGS)
-DFLAGS_DEBUG=-debug -g -w -nofloat $(ADD_DFLAGS)
+DFLAGS_DEBUG=-g -w -nofloat $(ADD_DFLAGS)
DFLAGS=$(DFLAGS_RELEASE)
TFLAGS_RELEASE=-O -inline -w -nofloat $(ADD_DFLAGS)
-TFLAGS_DEBUG=-debug -g -w -nofloat $(ADD_DFLAGS)
+TFLAGS_DEBUG=-g -w -nofloat $(ADD_DFLAGS)
TFLAGS=$(TFLAGS_RELEASE)
DOCFLAGS=-version=DDoc
CFLAGS=$(CFLAGS_RELEASE)
DFLAGS_RELEASE=-release -O -inline -w -nofloat $(ADD_DFLAGS)
-DFLAGS_DEBUG=-debug -g -w -nofloat $(ADD_DFLAGS)
+DFLAGS_DEBUG=-g -w -nofloat $(ADD_DFLAGS)
DFLAGS=$(DFLAGS_RELEASE)
TFLAGS_RELEASE=-O -inline -w -nofloat $(ADD_DFLAGS)
-TFLAGS_DEBUG=-debug -g -w -nofloat $(ADD_DFLAGS)
+TFLAGS_DEBUG=-g -w -nofloat $(ADD_DFLAGS)
TFLAGS=$(TFLAGS_RELEASE)
DOCFLAGS=-version=DDoc
ADD_DFLAGS=
CFLAGS_RELEASE=-mn -6 -r $(ADD_CFLAGS)
-CFLAGS_DEBUG=-D -g -mn -6 -r $(ADD_CFLAGS)
+CFLAGS_DEBUG=-g -mn -6 -r $(ADD_CFLAGS)
CFLAGS=$(CFLAGS_RELEASE)
DFLAGS_RELEASE=-release -O -inline -w -nofloat $(ADD_DFLAGS)
-DFLAGS_DEBUG=-debug -g -w -nofloat $(ADD_DFLAGS)
+DFLAGS_DEBUG=-g -w -nofloat $(ADD_DFLAGS)
DFLAGS=$(DFLAGS_RELEASE)
TFLAGS_RELEASE=-O -inline -w -nofloat $(ADD_DFLAGS)
-TFLAGS_DEBUG=-debug -g -w -nofloat $(ADD_DFLAGS)
+TFLAGS_DEBUG=-g -w -nofloat $(ADD_DFLAGS)
TFLAGS=$(TFLAGS_RELEASE)
DOCFLAGS=-version=DDoc