]> 4ch.mooo.com Git - 16.git/blobdiff - makefile
wwww testing maptest0.exe
[16.git] / makefile
index 91b877f5407cd12938b70c02cecd0c4efd8687e0..4a15a25b05f21a4c43d556c471bef4b99e9cb604 100644 (file)
--- a/makefile
+++ b/makefile
@@ -1,8 +1,9 @@
 #-zk0u = translate kanji to unicode... wwww\r
 #-zk0 = kanji support~\r
 #-zkl = current codepage\r
-\r
-CFLAGS=-zkl -wo -x -mc# -mh# -zdp# -zp16 -zq\r
+
+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
 REMOVECOMMAND=del\r
@@ -12,7 +13,7 @@ SRCLIB=$(SRC)lib$(DIRSEP)
 JSMNLIB=$(SRCLIB)jsmn$(DIRSEP)
 EXMMLIB=$(SRCLIB)exmm$(DIRSEP)\r
 \r
-all: test.exe pcxtest.exe test2.exe scroll.exe maptest.exe maptest0.exe fartest.exe emmtest.exe fmemtest.exe\r
+all: test.exe pcxtest.exe test2.exe scroll.exe maptest.exe maptest0.exe emsdump.exe emmtest.exe fmemtest.exe\r
 
 #
 #executables
@@ -33,14 +34,17 @@ pcxtest.exe: pcxtest.obj modex16.obj bitmap.obj lib_head.obj
 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
 
-maptest0.exe: maptest0.obj mapread.obj jsmn.obj modex16.obj bitmap.obj lib_head.obj\r
-       wcl $(FLAGS) maptest0.obj mapread.obj jsmn.obj modex16.obj bitmap.obj lib_head.obj
+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) emmtest.obj memory.obj
+       wcl $(FLAGS) $(MFLAGS) emmtest.obj memory.obj
+
+emsdump.exe: emsdump.obj memory.obj
+       wcl $(FLAGS) $(MFLAGS) emsdump.obj memory.obj
 
-fartest.exe: fartest.obj memory.obj
-       wcl $(FLAGS) fartest.obj memory.obj
+fmemtest.exe: fmemtest.obj# memory.obj
+       wcl $(FLAGS) $(MFLAGS) fmemtest.obj# memory.obj
 
 #
 #executable's objects
@@ -57,17 +61,17 @@ pcxtest.obj: $(SRC)pcxtest.c $(SRCLIB)modex16.h
 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) -c $(SRC)maptest0.c
+maptest0.obj: $(SRC)maptest0.c# $(SRCLIB)modex16.h\r
+       wcl $(FLAGS) $(MFLAGS) -c $(SRC)maptest0.c
 
 emmtest.obj: $(SRC)emmtest.c\r
-       wcl $(FLAGS) -c $(SRC)emmtest.c\r
+       wcl $(FLAGS) $(MFLAGS) -c $(SRC)emmtest.c\r
 
-fartest.obj: $(SRC)fartest.c\r
-       wcl $(FLAGS) -c $(SRC)fartest.c
+emsdump.obj: $(SRC)emsdump.c\r
+       wcl $(FLAGS) $(MFLAGS) -c $(SRC)emsdump.c
 
 fmemtest.obj: $(SRC)fmemtest.c\r
-       wcl $(FLAGS) -c $(SRC)fmemtest.c
+       wcl $(FLAGS) $(MFLAGS) -c $(SRC)fmemtest.c
 
 #
 #non executable objects libraries
@@ -85,16 +89,22 @@ planar.obj: $(SRCLIB)planar.h $(SRCLIB)planar.c
        wcl $(FLAGS) -c $(SRCLIB)planar.c\r
 \r
 mapread.obj: $(SRCLIB)mapread.h $(SRCLIB)mapread.c\r
-       wcl $(FLAGS) -c $(SRCLIB)mapread.c\r
+       wcl $(FLAGS) -c $(SRCLIB)mapread.c
+
+fmapread.obj: $(SRCLIB)fmapread.h $(SRCLIB)fmapread.c\r
+       wcl $(FLAGS) $(MFLAGS) -c $(SRCLIB)fmapread.c\r
 \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
-       wcl $(FLAGS) -c $(JSMNLIB)jsmn.c\r
+       wcl $(FLAGS) -c $(JSMNLIB)jsmn.c
+
+farjsmn.obj: $(JSMNLIB)farjsmn.h $(JSMNLIB)farjsmn.c\r
+       wcl $(FLAGS) $(MFLAGS) -c $(JSMNLIB)farjsmn.c\r
 
 memory.obj: $(EXMMLIB)memory.h $(EXMMLIB)memory.c\r
-       wcl $(FLAGS) -c $(EXMMLIB)memory.c
+       wcl $(FLAGS) $(MFLAGS) -c $(EXMMLIB)memory.c
 
 #
 #other~