]> 4ch.mooo.com Git - 16.git/blobdiff - src/lib/modex/demos/c/makefile
16_ca needs huge amounts of work and I should remember what needs to be done soon...
[16.git] / src / lib / modex / demos / c / makefile
index ff3463af10e6eade7a43abefdd7fbaf333a7da73..2c94d9bccb75a7cfa728719c0044496a3b22e6ed 100755 (executable)
@@ -10,17 +10,19 @@ DIRSEP=\
 OBJ=obj
 !endif
 
+CFLAGS=-d2 -0 -mc
+
 all: x-demo.exe
 
 x-demo.exe: x-demo.$(OBJ) modex.$(OBJ) c_utils.$(OBJ)
-       wcl -0 -mh x-demo.$(OBJ) modex.$(OBJ) c_utils.$(OBJ)
+       wcl $(CFLAGS) x-demo.$(OBJ) modex.$(OBJ) c_utils.$(OBJ)
 x-demo.$(OBJ): x-demo.c
-       wcl -c -0 -mh x-demo.c
+       wcl -c $(CFLAGS) x-demo.c
 
 c_utils.$(OBJ): c_utils.asm
-       wcl -0 -c -mh c_utils.asm
+       wcl -c $(CFLAGS) c_utils.asm
 modex.$(OBJ): modex.asm
-       wcl -c -0 -mh modex.asm
+       wcl -c $(CFLAGS) modex.asm
 
 clean: .symbolic
        @$(REMOVECOMMAND) x-demo.exe