EXMMLIB=$(SRCLIB)exmm$(DIRSEP)
WCPULIB=$(SRCLIB)wcpu$(DIRSEP)
-16LIBOBJS = 16_in.$(OBJ) 16_mm.$(OBJ) wcpu.$(OBJ) lib_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
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
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
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
16_mm.$(OBJ): $(SRCLIB)16_mm.h $(SRCLIB)16_mm.c
wcl $(FLAGS) -c $(SRCLIB)16_mm.c
-lib_head.$(OBJ): $(SRCLIB)lib_head.h $(SRCLIB)lib_head.c
- wcl $(FLAGS) -c $(SRCLIB)lib_head.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
jsmn.$(OBJ): $(JSMNLIB)jsmn.h $(JSMNLIB)jsmn.c
wcl $(FLAGS) -c $(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