]> 4ch.mooo.com Git - 16.git/blobdiff - makefile
okies~ adding exmm testing stuff to the makefile~
[16.git] / makefile
index 6530673d7937135352039f4d58caefe8d3abd57f..da282deded3794a659d227fd0f3223a6b48c802f 100644 (file)
--- a/makefile
+++ b/makefile
@@ -9,9 +9,10 @@ REMOVECOMMAND=del
 DIRSEP=\\r
 SRC=src$(DIRSEP)\r
 SRCLIB=$(SRC)lib$(DIRSEP)\r
-JSMNLIB=$(SRCLIB)jsmn$(DIRSEP)\r
+JSMNLIB=$(SRCLIB)jsmn$(DIRSEP)
+EXMMLIB=$(SRCLIB)exmm$(DIRSEP)\r
 \r
-all: test.exe pcxtest.exe test2.exe scroll.exe maptest.exe maptest0.exe\r
+all: test.exe pcxtest.exe test2.exe scroll.exe maptest.exe maptest0.exe far.exe emmtest.exe\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
@@ -30,7 +31,14 @@ maptest.exe: maptest.obj mapread.obj jsmn.obj modex16.obj bitmap.obj lib_head.ob
        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\r
+       wcl $(FLAGS) maptest0.obj mapread.obj jsmn.obj modex16.obj bitmap.obj lib_head.obj
+
+emmtest.exe: emmtest.obj memory.obj
+       wcl $(FLAGS) emmtest.obj memory.obj
+
+far.exe: far.obj memory.obj
+       wcl $(FLAGS) far.obj memory.obj
+
 \r
 test.obj: $(SRC)test.c $(SRCLIB)modex16.h\r
        wcl $(FLAGS) -c $(SRC)test.c\r
@@ -41,12 +49,18 @@ test2.obj: $(SRC)test2.c $(SRCLIB)modex16.h
 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
+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\r
-\r
+       wcl $(FLAGS) -c $(SRC)maptest0.c
+
+emmtest.obj: $(SRC)emmtest.c\r
+       wcl $(FLAGS) -c $(SRC)emmtest.c\r
+
+far.obj: $(SRC)far.c\r
+       wcl $(FLAGS) -c $(SRC)far.c
+
 \r
 modex16.obj: $(SRCLIB)modex16.h $(SRCLIB)modex16.c\r
        wcl $(FLAGS) -c $(SRCLIB)modex16.c\r
@@ -68,6 +82,9 @@ lib_head.obj: $(SRCLIB)lib_head.h $(SRCLIB)lib_head.c
 \r
 jsmn.obj: $(JSMNLIB)jsmn.h $(JSMNLIB)jsmn.c\r
        wcl $(FLAGS) -c $(JSMNLIB)jsmn.c\r
+
+memory.obj: $(EXMMLIB)memory.h $(EXMMLIB)memory.c\r
+       wcl $(FLAGS) -c $(EXMMLIB)memory.c
 \r
 clean: .symbolic\r
 #      @$(REMOVECOMMAND) *.obj\r