X-Git-Url: http://4ch.mooo.com/gitweb/?a=blobdiff_plain;f=makefile;h=0e4f6711342cad597706665e2964865439dbcf5c;hb=111b6cfe076d6333ada6787e2b81c0d836d0818a;hp=6530673d7937135352039f4d58caefe8d3abd57f;hpb=2a3b026008a2ded86d8e476df2a3bb4e47dbf42a;p=16.git diff --git a/makefile b/makefile index 6530673d..0e4f6711 100644 --- a/makefile +++ b/makefile @@ -9,10 +9,14 @@ REMOVECOMMAND=del DIRSEP=\ SRC=src$(DIRSEP) SRCLIB=$(SRC)lib$(DIRSEP) -JSMNLIB=$(SRCLIB)jsmn$(DIRSEP) - -all: test.exe pcxtest.exe test2.exe scroll.exe maptest.exe maptest0.exe +JSMNLIB=$(SRCLIB)jsmn$(DIRSEP) +EXMMLIB=$(SRCLIB)exmm$(DIRSEP) +all: test.exe pcxtest.exe test2.exe scroll.exe maptest.exe maptest0.exe emsdump.exe emmtest.exe fmemtest.exe + +# +#executables +# scroll.exe: scroll.obj modex16.obj dos_kb.obj bitmap.obj mapread.obj jsmn.obj lib_head.obj wcl $(FLAGS) scroll.obj modex16.obj dos_kb.obj bitmap.obj mapread.obj jsmn.obj lib_head.obj# 16/lib/x/modex.lib scroll.obj: $(SRC)scroll.c @@ -30,8 +34,20 @@ 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 maptest0.exe: maptest0.obj mapread.obj jsmn.obj modex16.obj bitmap.obj lib_head.obj - wcl $(FLAGS) maptest0.obj mapread.obj jsmn.obj modex16.obj bitmap.obj lib_head.obj - + 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 + +emsdump.exe: emsdump.obj memory.obj + wcl $(FLAGS) emsdump.obj memory.obj + +fmemtest.exe: fmemtest.obj# memory.obj + wcl $(FLAGS) fmemtest.obj# memory.obj + +# +#executable's objects +# test.obj: $(SRC)test.c $(SRCLIB)modex16.h wcl $(FLAGS) -c $(SRC)test.c @@ -41,13 +57,24 @@ test2.obj: $(SRC)test2.c $(SRCLIB)modex16.h pcxtest.obj: $(SRC)pcxtest.c $(SRCLIB)modex16.h wcl $(FLAGS) -c $(SRC)pcxtest.c -maptest.obj: $(SRC)maptest.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 - wcl $(FLAGS) -c $(SRC)maptest0.c - - + wcl $(FLAGS) -c $(SRC)maptest0.c + +emmtest.obj: $(SRC)emmtest.c + wcl $(FLAGS) -c $(SRC)emmtest.c + +emsdump.obj: $(SRC)emsdump.c + wcl $(FLAGS) -c $(SRC)emsdump.c + +fmemtest.obj: $(SRC)fmemtest.c + wcl $(FLAGS) -c $(SRC)fmemtest.c + +# +#non executable objects libraries +# modex16.obj: $(SRCLIB)modex16.h $(SRCLIB)modex16.c wcl $(FLAGS) -c $(SRCLIB)modex16.c @@ -68,7 +95,13 @@ lib_head.obj: $(SRCLIB)lib_head.h $(SRCLIB)lib_head.c jsmn.obj: $(JSMNLIB)jsmn.h $(JSMNLIB)jsmn.c wcl $(FLAGS) -c $(JSMNLIB)jsmn.c - + +memory.obj: $(EXMMLIB)memory.h $(EXMMLIB)memory.c + wcl $(FLAGS) -c $(EXMMLIB)memory.c + +# +#other~ +# clean: .symbolic # @$(REMOVECOMMAND) *.obj @$(REMOVECOMMAND) *.OBJ