X-Git-Url: http://4ch.mooo.com/gitweb/?a=blobdiff_plain;f=makefile;h=f1d5628b58324d72b94344d977cdd86fcd336997;hb=6e1e6445d36dc09619dbd22716455fa794998d0d;hp=000a0b58e44b3e215aa091001a85ed989d67cf74;hpb=5e15fd0dadb195739e333d5d49acfdef1a42074b;p=16.git diff --git a/makefile b/makefile index 000a0b58..f1d5628b 100644 --- a/makefile +++ b/makefile @@ -13,7 +13,7 @@ TARGET_OS = dos #-zkl = current codepage #MFLAGS=-mc# -zm -CFLAGS=-zkl -wo -x -mc# -zdp# -zp16 -zq +CFLAGS=-zk0 -wo -x -mc# -zdp# -zp16 -zq OFLAGS=-ot -ox -ob -oh -or# -om -ol -ol+ FLAGS=-0 -d2 -lr $(OFLAGS) $(CFLAGS) SRC=src$(DIRSEP) @@ -22,10 +22,10 @@ JSMNLIB=$(SRCLIB)jsmn$(DIRSEP) EXMMLIB=$(SRCLIB)exmm$(DIRSEP) WCPULIB=$(SRCLIB)wcpu$(DIRSEP) -16LIBOBJS = 16_in.$(OBJ) 16_mm.$(OBJ) wcpu.$(OBJ) 16_head.$(OBJ) scroll16.$(OBJ) 16text.$(OBJ) -GFXLIBOBJS = modex16.$(OBJ) bitmap.$(OBJ) planar.$(OBJ) +16LIBOBJS = 16_in.$(OBJ) 16_mm.$(OBJ) wcpu.$(OBJ) 16_head.$(OBJ) scroll16.$(OBJ) 16_ca.$(OBJ) 16_snd.$(OBJ) +GFXLIBOBJS = modex16.$(OBJ) bitmap.$(OBJ) planar.$(OBJ) 16text.$(OBJ) -all: 16.exe test.exe pcxtest.exe test2.exe palettec.exe maptest.exe fmemtest.exe fonttest.exe inputest.exe exmmtest.exe +all: 16.exe test.exe pcxtest.exe test2.exe palettec.exe maptest.exe fmemtest.exe fonttest.exe inputest.exe exmmtest.exe fonttes0.exe fontgfx.exe sountest.exe # #executables @@ -46,14 +46,23 @@ test2.exe: test2.$(OBJ) gfx.lib fonttest.exe: fonttest.$(OBJ) 16.lib wcl $(FLAGS) fonttest.$(OBJ) 16.lib +fonttes0.exe: fonttes0.$(OBJ) 16.lib + wcl $(FLAGS) fonttes0.$(OBJ) 16.lib + +fontgfx.exe: fontgfx.$(OBJ) 16.lib + wcl $(FLAGS) fontgfx.$(OBJ) 16.lib + inputest.exe: inputest.$(OBJ) 16.lib wcl $(FLAGS) inputest.$(OBJ) 16.lib +sountest.exe: sountest.$(OBJ) 16.lib + wcl $(FLAGS) sountest.$(OBJ) 16.lib + pcxtest.exe: pcxtest.$(OBJ) gfx.lib wcl $(FLAGS) pcxtest.$(OBJ) gfx.lib -palettec.exe: palettec.$(OBJ) modex16.$(OBJ) - wcl $(FLAGS) palettec.$(OBJ) modex16.$(OBJ) +palettec.exe: palettec.$(OBJ) 16.lib + wcl $(FLAGS) palettec.$(OBJ) 16.lib maptest.exe: maptest.$(OBJ) mapread.$(OBJ) jsmn.$(OBJ) 16.lib wcl $(FLAGS) maptest.$(OBJ) mapread.$(OBJ) jsmn.$(OBJ) 16.lib @@ -107,11 +116,20 @@ fmemtest.$(OBJ): $(SRC)fmemtest.c wcl $(FLAGS) -c $(SRC)fmemtest.c fonttest.$(OBJ): $(SRC)fonttest.c - wcl -c $(SRC)fonttest.c + wcl $(FLAGS) -c $(SRC)fonttest.c + +fonttes0.$(OBJ): $(SRC)fonttes0.c + wcl $(FLAGS) -c $(SRC)fonttes0.c + +fontgfx.$(OBJ): $(SRC)fontgfx.c + wcl $(FLAGS) -c $(SRC)fontgfx.c inputest.$(OBJ): $(SRC)inputest.c wcl $(FLAGS) -c $(SRC)inputest.c +sountest.$(OBJ): $(SRC)sountest.c + wcl $(FLAGS) -c $(SRC)sountest.c + exmmtest.$(OBJ): $(SRC)exmmtest.c wcl $(FLAGS) -c $(SRC)exmmtest.c @@ -143,7 +161,7 @@ wcpu.$(OBJ): $(WCPULIB)wcpu.h $(WCPULIB)wcpu.c wcl $(FLAGS) -c $(WCPULIB)wcpu.c 16text.$(OBJ): $(SRCLIB)16text.c - wcl -c $(SRCLIB)16text.c + wcl $(FLAGS) -c $(SRCLIB)16text.c mapread.$(OBJ): $(SRCLIB)mapread.h $(SRCLIB)mapread.c 16.lib wcl $(FLAGS) -c $(SRCLIB)mapread.c 16.lib @@ -157,6 +175,12 @@ mapread.$(OBJ): $(SRCLIB)mapread.h $(SRCLIB)mapread.c 16.lib 16_mm.$(OBJ): $(SRCLIB)16_mm.h $(SRCLIB)16_mm.c wcl $(FLAGS) -c $(SRCLIB)16_mm.c +16_ca.$(OBJ): $(SRCLIB)16_ca.h $(SRCLIB)16_ca.c + wcl $(FLAGS) -c $(SRCLIB)16_ca.c + +16_snd.$(OBJ): $(SRCLIB)16_snd.h $(SRCLIB)16_snd.c + wcl $(FLAGS) -c $(SRCLIB)16_snd.c + 16_head.$(OBJ): $(SRCLIB)16_head.h $(SRCLIB)16_head.c wcl $(FLAGS) -c $(SRCLIB)16_head.c @@ -174,11 +198,15 @@ jsmn.$(OBJ): $(JSMNLIB)jsmn.h $(JSMNLIB)jsmn.c # clean: .symbolic @$(REMOVECOMMAND) *.$(OBJ) + @$(REMOVECOMMAND) *.lib + @wlib -n 16.lib + @wlib -n gfx.lib # @$(REMOVECOMMAND) *.OBJ # @$(REMOVECOMMAND) *.out # @$(REMOVECOMMAND) *.OUT - @$(REMOVECOMMAND) makefi~1 - @$(REMOVECOMMAND) __WCL__.LNK +# @$(REMOVECOMMAND) makefi~1 +# @$(REMOVECOMMAND) makefile~ +# @$(REMOVECOMMAND) __WCL__.LNK # @$(REMOVECOMMAND) *.smp - @$(REMOVECOMMAND) *.SMP +# @$(REMOVECOMMAND) *.SMP