]> 4ch.mooo.com Git - 16.git/blobdiff - makefile
merged makefile
[16.git] / makefile
index e301d66b158c4efb128ea872edd9ce059abcd1f3..bd4c4eedf27726edfd9c266816704ab6d902d6b2 100644 (file)
--- a/makefile
+++ b/makefile
@@ -1,7 +1,7 @@
 #-zk0u = translate kanji to unicode... wwww\r
 #-zk0 = kanji support~\r
 #-zkl = current codepage\r
-
+\r
 MFLAGS=-mh# -zm\r
 CFLAGS=-zkl -wo -x#### -mc# -zdp# -zp16 -zq\r
 OFLAGS=-ot -ox -ob -oh -or# -om -ol -ol+\r
@@ -16,7 +16,7 @@ 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 \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
@@ -34,32 +34,41 @@ test.exe: test.obj modex16.obj bitmap.obj lib_head.obj
 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
+\r
+text.obj: $(SRCLIB)text.c\r
+       wcl -c $(SRCLIB)text.c\r
+\r
+ftest.obj: $(SRC)ftest.c\r
+       wcl -c $(SRC)ftest.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
-
+       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
 \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
-
-emmtest.exe: emmtest.obj memory.obj
-       wcl $(FLAGS) $(MFLAGS) emmtest.obj memory.obj
-
-emsdump.exe: emsdump.obj memory.obj
-       wcl $(FLAGS) $(MFLAGS) emsdump.obj memory.obj
-
-fmemtest.exe: fmemtest.obj# memory.obj
-       wcl $(FLAGS) $(MFLAGS) fmemtest.obj# memory.obj
-
-#
-#executable's objects
-#
+       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
+\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
+\r
+#\r
+#executable's objects\r
+#\r
 16.obj: $(SRC)16.h $(SRC)16.c\r
-       wcl $(FLAGS) -c $(SRC)16.c
+       wcl $(FLAGS) -c $(SRC)16.c\r
 \r
 test.obj: $(SRC)test.c $(SRCLIB)modex16.h\r
        wcl $(FLAGS) -c $(SRC)test.c\r
@@ -68,23 +77,23 @@ test2.obj: $(SRC)test2.c $(SRCLIB)modex16.h
        wcl $(FLAGS) -c $(SRC)test2.c\r
 \r
 pcxtest.obj: $(SRC)pcxtest.c $(SRCLIB)modex16.h\r
-       wcl $(FLAGS) -c $(SRC)pcxtest.c
-
+       wcl $(FLAGS) -c $(SRC)pcxtest.c\r
+\r
 palettec.obj: $(SRC)palettec.c\r
-       wcl $(FLAGS) -c $(SRC)palettec.c
+       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
-maptest.obj: $(SRC)maptest.c $(SRCLIB)modex16.h
-       wcl $(FLAGS) -c $(SRC)maptest.c
-
 maptest0.obj: $(SRC)maptest0.c# $(SRCLIB)modex16.h\r
-       wcl $(FLAGS) $(MFLAGS) -c $(SRC)maptest0.c
-
+       wcl $(FLAGS) $(MFLAGS) -c $(SRC)maptest0.c\r
+\r
 emmtest.obj: $(SRC)emmtest.c\r
        wcl $(FLAGS) $(MFLAGS) -c $(SRC)emmtest.c\r
-
+\r
 emsdump.obj: $(SRC)emsdump.c\r
-       wcl $(FLAGS) $(MFLAGS) -c $(SRC)emsdump.c
-
+       wcl $(FLAGS) $(MFLAGS) -c $(SRC)emsdump.c\r
+\r
 fmemtest.obj: $(SRC)fmemtest.c\r
        wcl $(FLAGS) $(MFLAGS) -c $(SRC)fmemtest.c
 
@@ -104,13 +113,13 @@ bitmap.obj: $(SRCLIB)bitmap.h $(SRCLIB)bitmap.c
        wcl $(FLAGS) -c $(SRCLIB)bitmap.c\r
 \r
 planar.obj: $(SRCLIB)planar.h $(SRCLIB)planar.c\r
-       wcl $(FLAGS) -c $(SRCLIB)planar.c
-
+       wcl $(FLAGS) -c $(SRCLIB)planar.c\r
+\r
 scroll16.obj: $(SRCLIB)scroll16.h $(SRCLIB)scroll16.c\r
-       wcl $(FLAGS) -c $(SRCLIB)scroll16.c
-
+       wcl $(FLAGS) -c $(SRCLIB)scroll16.c\r
+\r
 wcpu.obj: $(WCPULIB)wcpu.h $(WCPULIB)wcpu.c\r
-       wcl $(FLAGS) -c $(WCPULIB)wcpu.c
+       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
@@ -122,16 +131,16 @@ lib_head.obj: $(SRCLIB)lib_head.h $(SRCLIB)lib_head.c
        wcl $(FLAGS) -c $(SRCLIB)lib_head.c\r
 \r
 jsmn.obj: $(JSMNLIB)jsmn.h $(JSMNLIB)jsmn.c\r
-       wcl $(FLAGS) -c $(JSMNLIB)jsmn.c
-
+       wcl $(FLAGS) -c $(JSMNLIB)jsmn.c\r
+\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
-       wcl $(FLAGS) $(MFLAGS) -c $(EXMMLIB)memory.c
-
-#
-#other~
+       wcl $(FLAGS) $(MFLAGS) -c $(EXMMLIB)memory.c\r
+\r
+#\r
+#other~\r
 #\r
 clean: .symbolic\r
 #      @$(REMOVECOMMAND) *.obj\r