]> 4ch.mooo.com Git - 16.git/blobdiff - makefile
modified: boop.sh
[16.git] / makefile
index 000a0b58e44b3e215aa091001a85ed989d67cf74..20796d085f1779f360a3499edf2a691cb75d3a2f 100644 (file)
--- a/makefile
+++ b/makefile
@@ -22,10 +22,10 @@ JSMNLIB=$(SRCLIB)jsmn$(DIRSEP)
 EXMMLIB=$(SRCLIB)exmm$(DIRSEP)
 WCPULIB=$(SRCLIB)wcpu$(DIRSEP)
 
-16LIBOBJS = 16_in.$(OBJ) 16_mm.$(OBJ) wcpu.$(OBJ) 16_head.$(OBJ) scroll16.$(OBJ) 16text.$(OBJ)
+16LIBOBJS = 16_in.$(OBJ) 16_mm.$(OBJ) wcpu.$(OBJ) 16_head.$(OBJ) scroll16.$(OBJ) 16text.$(OBJ) 16_ca.$(OBJ)
 GFXLIBOBJS = modex16.$(OBJ) bitmap.$(OBJ) planar.$(OBJ)
 
-all: 16.exe test.exe pcxtest.exe test2.exe palettec.exe maptest.exe fmemtest.exe fonttest.exe inputest.exe exmmtest.exe
+all: 16.exe test.exe pcxtest.exe test2.exe palettec.exe maptest.exe fmemtest.exe fonttest.exe inputest.exe exmmtest.exe fonttes0.exe
 
 #
 #executables
@@ -46,6 +46,9 @@ test2.exe: test2.$(OBJ) gfx.lib
 fonttest.exe: fonttest.$(OBJ) 16.lib
        wcl $(FLAGS) fonttest.$(OBJ) 16.lib
 
+fonttes0.exe: fonttes0.$(OBJ) 16.lib
+        wcl $(FLAGS) fonttes0.$(OBJ) 16.lib
+
 inputest.exe: inputest.$(OBJ) 16.lib
        wcl $(FLAGS) inputest.$(OBJ) 16.lib
 
@@ -107,7 +110,10 @@ fmemtest.$(OBJ): $(SRC)fmemtest.c
        wcl $(FLAGS) -c $(SRC)fmemtest.c
 
 fonttest.$(OBJ): $(SRC)fonttest.c
-       wcl -c $(SRC)fonttest.c
+       wcl $(FLAGS) -c $(SRC)fonttest.c
+
+fonttes0.$(OBJ): $(SRC)fonttes0.c
+        wcl $(FLAGS) -c $(SRC)fonttes0.c
 
 inputest.$(OBJ): $(SRC)inputest.c
        wcl $(FLAGS) -c $(SRC)inputest.c
@@ -143,7 +149,7 @@ wcpu.$(OBJ): $(WCPULIB)wcpu.h $(WCPULIB)wcpu.c
        wcl $(FLAGS) -c $(WCPULIB)wcpu.c
 
 16text.$(OBJ): $(SRCLIB)16text.c
-       wcl -c $(SRCLIB)16text.c
+       wcl $(FLAGS) -c $(SRCLIB)16text.c
 
 mapread.$(OBJ): $(SRCLIB)mapread.h $(SRCLIB)mapread.c 16.lib
        wcl $(FLAGS) -c $(SRCLIB)mapread.c 16.lib
@@ -157,6 +163,9 @@ mapread.$(OBJ): $(SRCLIB)mapread.h $(SRCLIB)mapread.c 16.lib
 16_mm.$(OBJ): $(SRCLIB)16_mm.h $(SRCLIB)16_mm.c
        wcl $(FLAGS) -c $(SRCLIB)16_mm.c
 
+16_ca.$(OBJ): $(SRCLIB)16_ca.h $(SRCLIB)16_ca.c
+       wcl $(FLAGS) -c $(SRCLIB)16_ca.c
+
 16_head.$(OBJ): $(SRCLIB)16_head.h $(SRCLIB)16_head.c
        wcl $(FLAGS) -c $(SRCLIB)16_head.c
 
@@ -174,11 +183,15 @@ jsmn.$(OBJ): $(JSMNLIB)jsmn.h $(JSMNLIB)jsmn.c
 #
 clean: .symbolic
        @$(REMOVECOMMAND) *.$(OBJ)
+       @$(REMOVECOMMAND) *.lib
+       @wlib -n 16.lib
+       @wlib -n  gfx.lib
 #      @$(REMOVECOMMAND) *.OBJ
 #      @$(REMOVECOMMAND) *.out
 #      @$(REMOVECOMMAND) *.OUT
-       @$(REMOVECOMMAND) makefi~1
-       @$(REMOVECOMMAND) __WCL__.LNK
+#      @$(REMOVECOMMAND) makefi~1
+#      @$(REMOVECOMMAND) makefile~
+#      @$(REMOVECOMMAND) __WCL__.LNK
 #      @$(REMOVECOMMAND) *.smp
-       @$(REMOVECOMMAND) *.SMP
+#      @$(REMOVECOMMAND) *.SMP