MFLAGS=-mh# -zm\r
CFLAGS=-zkl -wo -x#### -mc# -zdp# -zp16 -zq\r
OFLAGS=-ot -ox -ob -oh -or# -om -ol -ol+\r
-FLAGS=-0 -d2 $(OFLAGS) $(CFLAGS)\r
+FLAGS=-0 -d2 -lr $(OFLAGS) $(CFLAGS)\r
REMOVECOMMAND=del\r
DIRSEP=\\r
+OBJ=obj\r
SRC=src$(DIRSEP)\r
SRCLIB=$(SRC)lib$(DIRSEP)\r
-JSMNLIB=$(SRCLIB)jsmn$(DIRSEP)
-EXMMLIB=$(SRCLIB)exmm$(DIRSEP)
-WCPULIB=$(SRCLIB)wcpu$(DIRSEP)
-
-16LIBOBJS = modex16.obj dos_kb.obj bitmap.obj planar.obj wcpu.obj lib_head.obj scroll16.obj
-\r
-all: 16.exe test.exe pcxtest.exe test2.exe scroll.exe palettec.exe maptest.exe maptest0.exe emsdump.exe emmtest.exe fmemtest.exe ftest.exe \r
-
-#
-#executables
-#
-16.exe: 16.obj mapread.obj jsmn.obj 16.lib
- wcl $(FLAGS) 16.obj mapread.obj jsmn.obj 16.lib
-\r
-scroll.exe: scroll.obj 16.lib mapread.obj jsmn.obj\r
- wcl $(FLAGS) scroll.obj 16.lib mapread.obj jsmn.obj\r
-scroll.obj: $(SRC)scroll.c\r
+JSMNLIB=$(SRCLIB)jsmn$(DIRSEP)\r
+EXMMLIB=$(SRCLIB)exmm$(DIRSEP)\r
+WCPULIB=$(SRCLIB)wcpu$(DIRSEP)\r
+\r
+16LIBOBJS = modex16.$(OBJ) dos_kb.$(OBJ) bitmap.$(OBJ) planar.$(OBJ) wcpu.$(OBJ) lib_head.$(OBJ) scroll16.$(OBJ)\r
+\r
+all: 16.exe test.exe pcxtest.exe test2.exe scroll.exe palettec.exe maptest.exe maptest0.exe emsdump.exe emmtest.exe fmemtest.exe fonttest.exe \r
+\r
+#\r
+#executables\r
+#\r
+16.exe: 16.$(OBJ) mapread.$(OBJ) jsmn.$(OBJ) 16.lib\r
+ wcl $(FLAGS) 16.$(OBJ) mapread.$(OBJ) jsmn.$(OBJ) 16.lib\r
+\r
+scroll.exe: scroll.$(OBJ) 16.lib mapread.$(OBJ) jsmn.$(OBJ)\r
+ wcl $(FLAGS) scroll.$(OBJ) 16.lib mapread.$(OBJ) jsmn.$(OBJ)\r
+scroll.$(OBJ): $(SRC)scroll.c\r
wcl $(FLAGS) -c $(SRC)scroll.c\r
-test.exe: test.obj modex16.obj bitmap.obj lib_head.obj\r
- wcl $(FLAGS) test.obj modex16.obj bitmap.obj lib_head.obj\r
+test.exe: test.$(OBJ) modex16.$(OBJ) bitmap.$(OBJ) lib_head.$(OBJ)\r
+ wcl $(FLAGS) test.$(OBJ) modex16.$(OBJ) bitmap.$(OBJ) lib_head.$(OBJ)\r
\r
-test2.exe: test2.obj modex16.obj bitmap.obj planar.obj lib_head.obj\r
- wcl $(FLAGS) test2.obj modex16.obj bitmap.obj planar.obj lib_head.obj\r
+test2.exe: test2.$(OBJ) modex16.$(OBJ) bitmap.$(OBJ) planar.$(OBJ) lib_head.$(OBJ)\r
+ wcl $(FLAGS) test2.$(OBJ) modex16.$(OBJ) bitmap.$(OBJ) planar.$(OBJ) lib_head.$(OBJ)\r
\r
-ftest.exe: text.obj ftest.obj\r
- wcl $(FLAGS) ftest.obj text.obj\r
+fonttest.exe: text.$(OBJ) fonttest.$(OBJ)\r
+ wcl $(FLAGS) fonttest.$(OBJ) 16text.$(OBJ)\r
\r
-text.obj: $(SRCLIB)text.c\r
- wcl -c $(SRCLIB)text.c\r
+16text.$(OBJ): $(SRCLIB)16text.c\r
+ wcl -c $(SRCLIB)16text.c\r
\r
-ftest.obj: $(SRC)ftest.c\r
- wcl -c $(SRC)ftest.c\r
+fonttest.$(OBJ): $(SRC)fonttest.c\r
+ wcl -c $(SRC)fonttest.c\r
\r
-pcxtest.exe: pcxtest.obj modex16.obj bitmap.obj planar.obj lib_head.obj\r
- wcl $(FLAGS) pcxtest.obj modex16.obj bitmap.obj planar.obj lib_head.obj\r
+pcxtest.exe: pcxtest.$(OBJ) modex16.$(OBJ) bitmap.$(OBJ) planar.$(OBJ) lib_head.$(OBJ)\r
+ wcl $(FLAGS) pcxtest.$(OBJ) modex16.$(OBJ) bitmap.$(OBJ) planar.$(OBJ) lib_head.$(OBJ)\r
\r
-palettec.exe: palettec.obj modex16.obj\r
- wcl $(FLAGS) palettec.obj modex16.obj\r
+palettec.exe: palettec.$(OBJ) modex16.$(OBJ)\r
+ wcl $(FLAGS) palettec.$(OBJ) modex16.$(OBJ)\r
\r
-maptest.exe: maptest.obj mapread.obj jsmn.obj modex16.obj bitmap.obj lib_head.obj\r
- wcl $(FLAGS) maptest.obj mapread.obj jsmn.obj modex16.obj bitmap.obj lib_head.obj\r
+maptest.exe: maptest.$(OBJ) mapread.$(OBJ) jsmn.$(OBJ) modex16.$(OBJ) bitmap.$(OBJ) lib_head.$(OBJ)\r
+ wcl $(FLAGS) maptest.$(OBJ) mapread.$(OBJ) jsmn.$(OBJ) modex16.$(OBJ) bitmap.$(OBJ) lib_head.$(OBJ)\r
\r
-maptest0.exe: maptest0.obj fmapread.obj farjsmn.obj# modex16.obj bitmap.obj lib_head.obj\r
- wcl $(FLAGS) $(MFLAGS) maptest0.obj fmapread.obj farjsmn.obj# modex16.obj bitmap.obj lib_head.obj\r
+maptest0.exe: maptest0.$(OBJ) fmapread.$(OBJ) farjsmn.$(OBJ)# modex16.$(OBJ) bitmap.$(OBJ) lib_head.$(OBJ)\r
+ wcl $(FLAGS) $(MFLAGS) maptest0.$(OBJ) fmapread.$(OBJ) farjsmn.$(OBJ)# modex16.$(OBJ) bitmap.$(OBJ) lib_head.$(OBJ)\r
\r
-emmtest.exe: emmtest.obj memory.obj\r
- wcl $(FLAGS) $(MFLAGS) emmtest.obj memory.obj\r
+emmtest.exe: emmtest.$(OBJ) memory.$(OBJ)\r
+ wcl $(FLAGS) $(MFLAGS) emmtest.$(OBJ) memory.$(OBJ)\r
\r
-emsdump.exe: emsdump.obj memory.obj\r
- wcl $(FLAGS) $(MFLAGS) emsdump.obj memory.obj\r
+emsdump.exe: emsdump.$(OBJ) memory.$(OBJ)\r
+ wcl $(FLAGS) $(MFLAGS) emsdump.$(OBJ) memory.$(OBJ)\r
\r
-fmemtest.exe: fmemtest.obj# memory.obj\r
- wcl $(FLAGS) $(MFLAGS) fmemtest.obj# memory.obj\r
+fmemtest.exe: fmemtest.$(OBJ)# memory.$(OBJ)\r
+ wcl $(FLAGS) $(MFLAGS) fmemtest.$(OBJ)# memory.$(OBJ)\r
\r
#\r
#executable's objects\r
#\r
-16.obj: $(SRC)16.h $(SRC)16.c\r
+16.$(OBJ): $(SRC)16.h $(SRC)16.c\r
wcl $(FLAGS) -c $(SRC)16.c\r
\r
-test.obj: $(SRC)test.c $(SRCLIB)modex16.h\r
+test.$(OBJ): $(SRC)test.c $(SRCLIB)modex16.h\r
wcl $(FLAGS) -c $(SRC)test.c\r
\r
-test2.obj: $(SRC)test2.c $(SRCLIB)modex16.h\r
+test2.$(OBJ): $(SRC)test2.c $(SRCLIB)modex16.h\r
wcl $(FLAGS) -c $(SRC)test2.c\r
\r
-pcxtest.obj: $(SRC)pcxtest.c $(SRCLIB)modex16.h\r
+pcxtest.$(OBJ): $(SRC)pcxtest.c $(SRCLIB)modex16.h\r
wcl $(FLAGS) -c $(SRC)pcxtest.c\r
\r
-palettec.obj: $(SRC)palettec.c\r
+palettec.$(OBJ): $(SRC)palettec.c\r
wcl $(FLAGS) -c $(SRC)palettec.c\r
\r
-maptest.obj: $(SRC)maptest.c $(SRCLIB)modex16.h\r
+maptest.$(OBJ): $(SRC)maptest.c $(SRCLIB)modex16.h\r
wcl $(FLAGS) -c $(SRC)maptest.c\r
\r
-maptest0.obj: $(SRC)maptest0.c# $(SRCLIB)modex16.h\r
+maptest0.$(OBJ): $(SRC)maptest0.c# $(SRCLIB)modex16.h\r
wcl $(FLAGS) $(MFLAGS) -c $(SRC)maptest0.c\r
\r
-emmtest.obj: $(SRC)emmtest.c\r
+emmtest.$(OBJ): $(SRC)emmtest.c\r
wcl $(FLAGS) $(MFLAGS) -c $(SRC)emmtest.c\r
\r
-emsdump.obj: $(SRC)emsdump.c\r
+emsdump.$(OBJ): $(SRC)emsdump.c\r
wcl $(FLAGS) $(MFLAGS) -c $(SRC)emsdump.c\r
\r
-fmemtest.obj: $(SRC)fmemtest.c\r
- wcl $(FLAGS) $(MFLAGS) -c $(SRC)fmemtest.c
-
-#
-#non executable objects libraries
-#
+fmemtest.$(OBJ): $(SRC)fmemtest.c\r
+ wcl $(FLAGS) $(MFLAGS) -c $(SRC)fmemtest.c\r
+\r
+#\r
+#non executable objects libraries\r
+#\r
16.lib: $(16LIBOBJS)\r
- wlib -b 16.lib $(16LIBOBJS)
+ wlib -b 16.lib $(16LIBOBJS)\r
\r
-modex16.obj: $(SRCLIB)modex16.h $(SRCLIB)modex16.c\r
+modex16.$(OBJ): $(SRCLIB)modex16.h $(SRCLIB)modex16.c\r
wcl $(FLAGS) -c $(SRCLIB)modex16.c\r
\r
-dos_kb.obj: $(SRCLIB)dos_kb.h $(SRCLIB)dos_kb.c\r
+dos_kb.$(OBJ): $(SRCLIB)dos_kb.h $(SRCLIB)dos_kb.c\r
wcl $(FLAGS) -c $(SRCLIB)dos_kb.c\r
\r
-bitmap.obj: $(SRCLIB)bitmap.h $(SRCLIB)bitmap.c\r
+bitmap.$(OBJ): $(SRCLIB)bitmap.h $(SRCLIB)bitmap.c\r
wcl $(FLAGS) -c $(SRCLIB)bitmap.c\r
\r
-planar.obj: $(SRCLIB)planar.h $(SRCLIB)planar.c\r
+planar.$(OBJ): $(SRCLIB)planar.h $(SRCLIB)planar.c\r
wcl $(FLAGS) -c $(SRCLIB)planar.c\r
\r
-scroll16.obj: $(SRCLIB)scroll16.h $(SRCLIB)scroll16.c\r
+scroll16.$(OBJ): $(SRCLIB)scroll16.h $(SRCLIB)scroll16.c\r
wcl $(FLAGS) -c $(SRCLIB)scroll16.c\r
\r
-wcpu.obj: $(WCPULIB)wcpu.h $(WCPULIB)wcpu.c\r
+wcpu.$(OBJ): $(WCPULIB)wcpu.h $(WCPULIB)wcpu.c\r
wcl $(FLAGS) -c $(WCPULIB)wcpu.c\r
\r
-mapread.obj: $(SRCLIB)mapread.h $(SRCLIB)mapread.c 16.lib\r
- wcl $(FLAGS) -c $(SRCLIB)mapread.c 16.lib
-
-fmapread.obj: $(SRCLIB)fmapread.h $(SRCLIB)fmapread.c 16.lib\r
+mapread.$(OBJ): $(SRCLIB)mapread.h $(SRCLIB)mapread.c 16.lib\r
+ wcl $(FLAGS) -c $(SRCLIB)mapread.c 16.lib\r
+\r
+fmapread.$(OBJ): $(SRCLIB)fmapread.h $(SRCLIB)fmapread.c 16.lib\r
wcl $(FLAGS) $(MFLAGS) -c $(SRCLIB)fmapread.c 16.lib\r
\r
-lib_head.obj: $(SRCLIB)lib_head.h $(SRCLIB)lib_head.c\r
+lib_head.$(OBJ): $(SRCLIB)lib_head.h $(SRCLIB)lib_head.c\r
wcl $(FLAGS) -c $(SRCLIB)lib_head.c\r
\r
-jsmn.obj: $(JSMNLIB)jsmn.h $(JSMNLIB)jsmn.c\r
+jsmn.$(OBJ): $(JSMNLIB)jsmn.h $(JSMNLIB)jsmn.c\r
wcl $(FLAGS) -c $(JSMNLIB)jsmn.c\r
\r
-farjsmn.obj: $(JSMNLIB)farjsmn.h $(JSMNLIB)farjsmn.c\r
+farjsmn.$(OBJ): $(JSMNLIB)farjsmn.h $(JSMNLIB)farjsmn.c\r
wcl $(FLAGS) $(MFLAGS) -c $(JSMNLIB)farjsmn.c\r
\r
-memory.obj: $(EXMMLIB)memory.h $(EXMMLIB)memory.c\r
+memory.$(OBJ): $(EXMMLIB)memory.h $(EXMMLIB)memory.c\r
wcl $(FLAGS) $(MFLAGS) -c $(EXMMLIB)memory.c\r
\r
#\r
#other~\r
#\r
clean: .symbolic\r
-# @$(REMOVECOMMAND) *.obj\r
+# @$(REMOVECOMMAND) *.$(OBJ)\r
@$(REMOVECOMMAND) *.OBJ\r
# @$(REMOVECOMMAND) *.out\r
# @$(REMOVECOMMAND) *.OUT\r
#-zkl = current codepage\r
\r
MFLAGS=-mh# -zm\r
-CFLAGS=-zkl -wo -x #### -mc# -zdp# -zp16 -zq\r
+CFLAGS=-zkl -wo -x#### -mc# -zdp# -zp16 -zq\r
OFLAGS=-ot -ox -ob -oh -or# -om -ol -ol+\r
-FLAGS=-0 -d2 -l=dos -bt=dos $(OFLAGS) $(CFLAGS)\r
+FLAGS=-0 -d2 -lr $(OFLAGS) $(CFLAGS)\r
REMOVECOMMAND=rm\r
DIRSEP=/\r
+OBJ=o\r
SRC=src$(DIRSEP)\r
SRCLIB=$(SRC)lib$(DIRSEP)\r
JSMNLIB=$(SRCLIB)jsmn$(DIRSEP)\r
EXMMLIB=$(SRCLIB)exmm$(DIRSEP)\r
+WCPULIB=$(SRCLIB)wcpu$(DIRSEP)\r
\r
-all: test.exe pcxtest.exe test2.exe scroll.exe maptest.exe maptest0.exe emsdump.exe emmtest.exe fmemtest.exe\r
+16LIBOBJS = modex16.$(OBJ) dos_kb.$(OBJ) bitmap.$(OBJ) planar.$(OBJ) wcpu.$(OBJ) lib_head.$(OBJ) scroll16.$(OBJ)\r
+\r
+all: 16.exe test.exe pcxtest.exe test2.exe scroll.exe palettec.exe maptest.exe maptest0.exe emsdump.exe emmtest.exe fmemtest.exe fonttest.exe \r
\r
#\r
#executables\r
#\r
-scroll.exe: scroll.obj modex16.obj dos_kb.obj bitmap.obj mapread.obj jsmn.obj lib_head.obj\r
- wcl $(FLAGS) scroll.obj modex16.obj dos_kb.obj bitmap.obj mapread.obj jsmn.obj lib_head.obj# 16/lib/x/modex.lib\r
-scroll.obj: $(SRC)scroll.c\r
+16.exe: 16.$(OBJ) mapread.$(OBJ) jsmn.$(OBJ) 16.lib\r
+ wcl $(FLAGS) 16.$(OBJ) mapread.$(OBJ) jsmn.$(OBJ) 16.lib\r
+\r
+scroll.exe: scroll.$(OBJ) 16.lib mapread.$(OBJ) jsmn.$(OBJ)\r
+ wcl $(FLAGS) scroll.$(OBJ) 16.lib mapread.$(OBJ) jsmn.$(OBJ)\r
+scroll.$(OBJ): $(SRC)scroll.c\r
wcl $(FLAGS) -c $(SRC)scroll.c\r
-test.exe: test.obj modex16.obj bitmap.obj lib_head.obj\r
- wcl $(FLAGS) test.obj modex16.obj bitmap.obj lib_head.obj\r
+test.exe: test.$(OBJ) modex16.$(OBJ) bitmap.$(OBJ) lib_head.$(OBJ)\r
+ wcl $(FLAGS) test.$(OBJ) modex16.$(OBJ) bitmap.$(OBJ) lib_head.$(OBJ)\r
+\r
+test2.exe: test2.$(OBJ) modex16.$(OBJ) bitmap.$(OBJ) planar.$(OBJ) lib_head.$(OBJ)\r
+ wcl $(FLAGS) test2.$(OBJ) modex16.$(OBJ) bitmap.$(OBJ) planar.$(OBJ) lib_head.$(OBJ)\r
+\r
+fonttest.exe: text.$(OBJ) fonttest.$(OBJ)\r
+ wcl $(FLAGS) fonttest.$(OBJ) 16text.$(OBJ)\r
+\r
+16text.$(OBJ): $(SRCLIB)16text.c\r
+ wcl -c $(SRCLIB)16text.c\r
+\r
+fonttest.$(OBJ): $(SRC)fonttest.c\r
+ wcl -c $(SRC)fonttest.c\r
\r
-test2.exe: test2.obj modex16.obj bitmap.obj planar.obj lib_head.obj\r
- wcl $(FLAGS) test2.obj modex16.obj bitmap.obj planar.obj lib_head.obj\r
+pcxtest.exe: pcxtest.$(OBJ) modex16.$(OBJ) bitmap.$(OBJ) planar.$(OBJ) lib_head.$(OBJ)\r
+ wcl $(FLAGS) pcxtest.$(OBJ) modex16.$(OBJ) bitmap.$(OBJ) planar.$(OBJ) lib_head.$(OBJ)\r
\r
-pcxtest.exe: pcxtest.obj modex16.obj bitmap.obj lib_head.obj\r
- wcl $(FLAGS) pcxtest.obj modex16.obj bitmap.obj lib_head.obj\r
+palettec.exe: palettec.$(OBJ) modex16.$(OBJ)\r
+ wcl $(FLAGS) palettec.$(OBJ) modex16.$(OBJ)\r
\r
-maptest.exe: maptest.obj mapread.obj jsmn.obj modex16.obj bitmap.obj lib_head.obj\r
- wcl $(FLAGS) maptest.obj mapread.obj jsmn.obj modex16.obj bitmap.obj lib_head.obj\r
+maptest.exe: maptest.$(OBJ) mapread.$(OBJ) jsmn.$(OBJ) modex16.$(OBJ) bitmap.$(OBJ) lib_head.$(OBJ)\r
+ wcl $(FLAGS) maptest.$(OBJ) mapread.$(OBJ) jsmn.$(OBJ) modex16.$(OBJ) bitmap.$(OBJ) lib_head.$(OBJ)\r
\r
-maptest0.exe: maptest0.obj fmapread.obj farjsmn.obj# modex16.obj bitmap.obj lib_head.obj\r
- wcl $(FLAGS) $(MFLAGS) maptest0.obj fmapread.obj farjsmn.obj# modex16.obj bitmap.obj lib_head.obj\r
+maptest0.exe: maptest0.$(OBJ) fmapread.$(OBJ) farjsmn.$(OBJ)# modex16.$(OBJ) bitmap.$(OBJ) lib_head.$(OBJ)\r
+ wcl $(FLAGS) $(MFLAGS) maptest0.$(OBJ) fmapread.$(OBJ) farjsmn.$(OBJ)# modex16.$(OBJ) bitmap.$(OBJ) lib_head.$(OBJ)\r
\r
-emmtest.exe: emmtest.obj memory.obj\r
- wcl $(FLAGS) $(MFLAGS) emmtest.obj memory.obj\r
+emmtest.exe: emmtest.$(OBJ) memory.$(OBJ)\r
+ wcl $(FLAGS) $(MFLAGS) emmtest.$(OBJ) memory.$(OBJ)\r
\r
-emsdump.exe: emsdump.obj memory.obj\r
- wcl $(FLAGS) $(MFLAGS) emsdump.obj memory.obj\r
+emsdump.exe: emsdump.$(OBJ) memory.$(OBJ)\r
+ wcl $(FLAGS) $(MFLAGS) emsdump.$(OBJ) memory.$(OBJ)\r
\r
-fmemtest.exe: fmemtest.obj# memory.obj\r
- wcl $(FLAGS) $(MFLAGS) fmemtest.obj# memory.obj\r
+fmemtest.exe: fmemtest.$(OBJ)# memory.$(OBJ)\r
+ wcl $(FLAGS) $(MFLAGS) fmemtest.$(OBJ)# memory.$(OBJ)\r
\r
#\r
#executable's objects\r
#\r
-test.obj: $(SRC)test.c $(SRCLIB)modex16.h\r
+16.$(OBJ): $(SRC)16.h $(SRC)16.c\r
+ wcl $(FLAGS) -c $(SRC)16.c\r
+\r
+test.$(OBJ): $(SRC)test.c $(SRCLIB)modex16.h\r
wcl $(FLAGS) -c $(SRC)test.c\r
\r
-test2.obj: $(SRC)test2.c $(SRCLIB)modex16.h\r
+test2.$(OBJ): $(SRC)test2.c $(SRCLIB)modex16.h\r
wcl $(FLAGS) -c $(SRC)test2.c\r
\r
-pcxtest.obj: $(SRC)pcxtest.c $(SRCLIB)modex16.h\r
+pcxtest.$(OBJ): $(SRC)pcxtest.c $(SRCLIB)modex16.h\r
wcl $(FLAGS) -c $(SRC)pcxtest.c\r
\r
-maptest.obj: $(SRC)maptest.c $(SRCLIB)modex16.h\r
+palettec.$(OBJ): $(SRC)palettec.c\r
+ wcl $(FLAGS) -c $(SRC)palettec.c\r
+\r
+maptest.$(OBJ): $(SRC)maptest.c $(SRCLIB)modex16.h\r
wcl $(FLAGS) -c $(SRC)maptest.c\r
\r
-maptest0.obj: $(SRC)maptest0.c# $(SRCLIB)modex16.h\r
+maptest0.$(OBJ): $(SRC)maptest0.c# $(SRCLIB)modex16.h\r
wcl $(FLAGS) $(MFLAGS) -c $(SRC)maptest0.c\r
\r
-emmtest.obj: $(SRC)emmtest.c\r
+emmtest.$(OBJ): $(SRC)emmtest.c\r
wcl $(FLAGS) $(MFLAGS) -c $(SRC)emmtest.c\r
\r
-emsdump.obj: $(SRC)emsdump.c\r
+emsdump.$(OBJ): $(SRC)emsdump.c\r
wcl $(FLAGS) $(MFLAGS) -c $(SRC)emsdump.c\r
\r
-fmemtest.obj: $(SRC)fmemtest.c\r
+fmemtest.$(OBJ): $(SRC)fmemtest.c\r
wcl $(FLAGS) $(MFLAGS) -c $(SRC)fmemtest.c\r
\r
#\r
#non executable objects libraries\r
#\r
-modex16.obj: $(SRCLIB)modex16.h $(SRCLIB)modex16.c\r
+16.lib: $(16LIBOBJS)\r
+ wlib -b 16.lib $(16LIBOBJS)\r
+\r
+modex16.$(OBJ): $(SRCLIB)modex16.h $(SRCLIB)modex16.c\r
wcl $(FLAGS) -c $(SRCLIB)modex16.c\r
\r
-dos_kb.obj: $(SRCLIB)dos_kb.h $(SRCLIB)dos_kb.c\r
+dos_kb.$(OBJ): $(SRCLIB)dos_kb.h $(SRCLIB)dos_kb.c\r
wcl $(FLAGS) -c $(SRCLIB)dos_kb.c\r
\r
-bitmap.obj: $(SRCLIB)bitmap.h $(SRCLIB)bitmap.c\r
+bitmap.$(OBJ): $(SRCLIB)bitmap.h $(SRCLIB)bitmap.c\r
wcl $(FLAGS) -c $(SRCLIB)bitmap.c\r
\r
-planar.obj: $(SRCLIB)planar.h $(SRCLIB)planar.c\r
+planar.$(OBJ): $(SRCLIB)planar.h $(SRCLIB)planar.c\r
wcl $(FLAGS) -c $(SRCLIB)planar.c\r
\r
-mapread.obj: $(SRCLIB)mapread.h $(SRCLIB)mapread.c\r
- wcl $(FLAGS) -c $(SRCLIB)mapread.c\r
+scroll16.$(OBJ): $(SRCLIB)scroll16.h $(SRCLIB)scroll16.c\r
+ wcl $(FLAGS) -c $(SRCLIB)scroll16.c\r
+\r
+wcpu.$(OBJ): $(WCPULIB)wcpu.h $(WCPULIB)wcpu.c\r
+ wcl $(FLAGS) -c $(WCPULIB)wcpu.c\r
+\r
+mapread.$(OBJ): $(SRCLIB)mapread.h $(SRCLIB)mapread.c 16.lib\r
+ wcl $(FLAGS) -c $(SRCLIB)mapread.c 16.lib\r
\r
-fmapread.obj: $(SRCLIB)fmapread.h $(SRCLIB)fmapread.c\r
- wcl $(FLAGS) $(MFLAGS) -c $(SRCLIB)fmapread.c\r
+fmapread.$(OBJ): $(SRCLIB)fmapread.h $(SRCLIB)fmapread.c 16.lib\r
+ wcl $(FLAGS) $(MFLAGS) -c $(SRCLIB)fmapread.c 16.lib\r
\r
-lib_head.obj: $(SRCLIB)lib_head.h $(SRCLIB)lib_head.c\r
+lib_head.$(OBJ): $(SRCLIB)lib_head.h $(SRCLIB)lib_head.c\r
wcl $(FLAGS) -c $(SRCLIB)lib_head.c\r
\r
-jsmn.obj: $(JSMNLIB)jsmn.h $(JSMNLIB)jsmn.c\r
+jsmn.$(OBJ): $(JSMNLIB)jsmn.h $(JSMNLIB)jsmn.c\r
wcl $(FLAGS) -c $(JSMNLIB)jsmn.c\r
\r
-farjsmn.obj: $(JSMNLIB)farjsmn.h $(JSMNLIB)farjsmn.c\r
+farjsmn.$(OBJ): $(JSMNLIB)farjsmn.h $(JSMNLIB)farjsmn.c\r
wcl $(FLAGS) $(MFLAGS) -c $(JSMNLIB)farjsmn.c\r
\r
-memory.obj: $(EXMMLIB)memory.h $(EXMMLIB)memory.c\r
+memory.$(OBJ): $(EXMMLIB)memory.h $(EXMMLIB)memory.c\r
wcl $(FLAGS) $(MFLAGS) -c $(EXMMLIB)memory.c\r
\r
#\r
#other~\r
#\r
clean: .symbolic\r
-# @$(REMOVECOMMAND) *.obj\r
+# @$(REMOVECOMMAND) *.$(OBJ)\r
@$(REMOVECOMMAND) *.OBJ\r
# @$(REMOVECOMMAND) *.out\r
# @$(REMOVECOMMAND) *.OUT\r