X-Git-Url: http://4ch.mooo.com/gitweb/?a=blobdiff_plain;f=makefile;h=d49ccf9e743813405f6c37773de92eea2c8724ec;hb=866232d8ee296189ab972a4c99c140dbe32c3353;hp=9c6738c1711e673bcc8350aea5a14fe8bd83ef69;hpb=c9827cf73d2e8de284981495424d74044afdfc13;p=16.git diff --git a/makefile b/makefile index 9c6738c1..d49ccf9e 100644 --- a/makefile +++ b/makefile @@ -16,9 +16,9 @@ EXMMLIB=$(SRCLIB)exmm$(DIRSEP) WCPULIB=$(SRCLIB)wcpu$(DIRSEP) 16LIBOBJS = 16_in.$(OBJ) wcpu.$(OBJ) lib_head.$(OBJ) scroll16.$(OBJ) 16text.$(OBJ) -GFXLIBOBJS = modex16.$(OBJ) bitmap.$(OBJ) planar.$(OBJ) +GFXLIBOBJS = modex16.$(OBJ) bitmap.$(OBJ) planar.$(OBJ) -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 inputest.exe +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 inputest.exe exmmtest.exe # #executables @@ -37,17 +37,11 @@ test2.exe: test2.$(OBJ) 16.lib wcl $(FLAGS) test2.$(OBJ) 16.lib fonttest.exe: fonttest.$(OBJ) 16.lib - wcl $(FLAGS) fonttest.$(OBJ) 16.lib - + wcl $(FLAGS) fonttest.$(OBJ) 16.lib + inputest.exe: inputest.$(OBJ) 16.lib wcl $(FLAGS) inputest.$(OBJ) 16.lib -16text.$(OBJ): $(SRCLIB)16text.c - wcl -c $(SRCLIB)16text.c - -fonttest.$(OBJ): $(SRC)fonttest.c - wcl -c $(SRC)fonttest.c - pcxtest.exe: pcxtest.$(OBJ) 16.lib wcl $(FLAGS) pcxtest.$(OBJ) 16.lib @@ -69,6 +63,9 @@ emsdump.exe: emsdump.$(OBJ) memory.$(OBJ) fmemtest.exe: fmemtest.$(OBJ)# memory.$(OBJ) wcl $(FLAGS) $(MFLAGS) fmemtest.$(OBJ)# memory.$(OBJ) +exmmtest.exe: exmmtest.$(OBJ) 16_mm.$(OBJ) + wcl $(FLAGS) $(MFLAGS) exmmtest.$(OBJ) 16_mm.$(OBJ) + # #executable's objects # @@ -100,17 +97,23 @@ emsdump.$(OBJ): $(SRC)emsdump.c wcl $(FLAGS) $(MFLAGS) -c $(SRC)emsdump.c fmemtest.$(OBJ): $(SRC)fmemtest.c - wcl $(FLAGS) $(MFLAGS) -c $(SRC)fmemtest.c - + wcl $(FLAGS) $(MFLAGS) -c $(SRC)fmemtest.c + +fonttest.$(OBJ): $(SRC)fonttest.c + wcl -c $(SRC)fonttest.c + inputest.$(OBJ): $(SRC)inputest.c wcl $(FLAGS) -c $(SRC)inputest.c +exmmtest.$(OBJ): $(SRC)exmmtest.c + wcl $(FLAGS) $(MFLAGS) -c $(SRC)exmmtest.c + # #non executable objects libraries # 16.lib: $(16LIBOBJS) gfx.lib - wlib -b 16.lib $(16LIBOBJS) gfx.lib - + wlib -b 16.lib $(16LIBOBJS) gfx.lib + gfx.lib: $(GFXLIBOBJS) wlib -b gfx.lib $(GFXLIBOBJS) @@ -132,15 +135,21 @@ scroll16.$(OBJ): $(SRCLIB)scroll16.h $(SRCLIB)scroll16.c wcpu.$(OBJ): $(WCPULIB)wcpu.h $(WCPULIB)wcpu.c wcl $(FLAGS) -c $(WCPULIB)wcpu.c +16text.$(OBJ): $(SRCLIB)16text.c + wcl -c $(SRCLIB)16text.c + mapread.$(OBJ): $(SRCLIB)mapread.h $(SRCLIB)mapread.c 16.lib wcl $(FLAGS) -c $(SRCLIB)mapread.c 16.lib fmapread.$(OBJ): $(SRCLIB)fmapread.h $(SRCLIB)fmapread.c 16.lib - wcl $(FLAGS) $(MFLAGS) -c $(SRCLIB)fmapread.c 16.lib - -16_in.$(OBJ): $(SRCLIB)16_in.h $(SRCLIB)16_in.c + wcl $(FLAGS) $(MFLAGS) -c $(SRCLIB)fmapread.c 16.lib + +16_in.$(OBJ): $(SRCLIB)16_in.h $(SRCLIB)16_in.c wcl $(FLAGS) -c $(SRCLIB)16_in.c +16_mm.$(OBJ): $(SRCLIB)16_mm.h $(SRCLIB)16_mm.c + wcl $(FLAGS) $(MFLAGS) -c $(SRCLIB)16_mm.c + lib_head.$(OBJ): $(SRCLIB)lib_head.h $(SRCLIB)lib_head.c wcl $(FLAGS) -c $(SRCLIB)lib_head.c @@ -151,8 +160,8 @@ farjsmn.$(OBJ): $(JSMNLIB)farjsmn.h $(JSMNLIB)farjsmn.c wcl $(FLAGS) $(MFLAGS) -c $(JSMNLIB)farjsmn.c memory.$(OBJ): $(EXMMLIB)memory.h $(EXMMLIB)memory.c - wcl $(FLAGS) $(MFLAGS) -c $(EXMMLIB)memory.c - + wcl $(FLAGS) $(MFLAGS) -c $(EXMMLIB)memory.c + # #other~ #