CFLAGS=-O $(ADD_CFLAGS)\r
#CFLAGS=-g $(ADD_CFLAGS)\r
\r
-DFLAGS=-release -O -inline -w -nofloat -version=Posix $(ADD_DFLAGS)\r
-#DFLAGS=-g -w -nofloat -version=Posix $(ADD_DFLAGS)\r
+DFLAGS=-release -O -inline -w -nofloat $(ADD_DFLAGS)\r
+#DFLAGS=-g -w -nofloat $(ADD_DFLAGS)\r
\r
-TFLAGS=-O -inline -w -nofloat -version=Posix $(ADD_DFLAGS)\r
-#TFLAGS=-g -w -nofloat -version=Posix $(ADD_DFLAGS)\r
+TFLAGS=-O -inline -w -nofloat $(ADD_DFLAGS)\r
+#TFLAGS=-g -w -nofloat $(ADD_DFLAGS)\r
\r
-DOCFLAGS=-version=DDoc -version=Posix\r
+DOCFLAGS=-version=DDoc\r
\r
CC=gcc\r
LC=$(AR) -qsv\r
OBJ_CORE= \\r
core/bitmanip.o \\r
core/exception.o \\r
- core/memory.o \\r
+ core/memory_.o \\r
core/runtime.o \\r
core/thread.o\r
\r
OBJ_STDC= \\r
- stdc/errno.o\r
+ core/stdc/errno.o\r
\r
ALL_OBJS= \\r
$(OBJ_CORE) \\r
### bitmanip\r
\r
core/bitmanip.o : core/bitmanip.d\r
- $(DC) -c $(DFLAGS) bitmanip.d -of$@\r
+ $(DC) -c $(DFLAGS) core/bitmanip.d -of$@\r
+\r
+### memory\r
+\r
+core/memory_.o : core/memory.d\r
+ $(DC) -c $(DFLAGS) -Hf$*.di $< -of$@\r
\r
### thread\r
\r
core/thread.o : core/thread.d\r
- $(DC) -c $(DFLAGS) -d -Hf$*.di thread.d -of$@\r
+ $(DC) -c $(DFLAGS) -d -Hf$*.di core/thread.d -of$@\r
\r
######################################################\r
\r