]> 4ch.mooo.com Git - 16.git/blobdiff - makefile
0.c is under study wwww
[16.git] / makefile
index d6cc76f9cb9fe4497a1303c1308f585e0c11b71a..2d185ff0444bd849a797f50202ee596b9013ec1e 100755 (executable)
--- a/makefile
+++ b/makefile
@@ -69,7 +69,7 @@ WLIBQ=-q
 WCLQ=-zq $(WLIBQ)
 UPXQ=-qqq
 
-AFLAGS=-mh -0 -d2
+AFLAGS=-mh -0 -d1
 16FLAGS=-fh=16.hed
 BAKAPIFLAGS=-fh=bakapi.hed
 SFLAGS=-sg -st -of+ -zu -zdf -zff -zgf -k32768#54096#60000
@@ -96,9 +96,9 @@ DOSLIBLIBS += $(DOSLIBDIR)$(DIRSEP)hw$(DIRSEP)8250$(DIRSEP)dos86h$(DIRSEP)8250.l
 
 TESTEXEC = exmmtest.exe test.exe test0.exe pcxtest.exe pcxtest2.exe test2.exe palettec.exe maptest.exe fmemtest.exe fonttest.exe fontgfx.exe scroll.exe vgmtest.exe inputest.exe palettel.exe planrpcx.exe
 
-EXEC = 16.exe bakapi.exe $(TESTEXEC) tesuto.exe
+EXEC = 16.exe bakapi.exe $(TESTEXEC) tesuto.exe 0.exe
 
-all: $(EXEC) joytest.exe vrs
+all: $(EXEC) joytest.exe
 #16.lib => $(16LIBOBJS) bug....
 16LIB=$(16LIBOBJS)
 !ifeq DEBUGSERIAL 1
@@ -132,6 +132,11 @@ tesuto.exe: tesuto.$(OBJ) $(DOSLIBLIBS) 16_head.$(OBJ) gfx.lib
 tesuto.$(OBJ): $(SRC)tesuto.c
        wcl $(FLAGS) $(WCLQ) -c $(SRC)tesuto.c
 
+0.exe: 0.$(OBJ) $(DOSLIBLIBS) 16_head.$(OBJ) gfx.lib
+       wcl $(FLAGS) $(WCLQ) 0.$(OBJ) $(DOSLIBLIBS) 16_head.$(OBJ) gfx.lib
+0.$(OBJ): $(SRC)0.c
+       wcl $(FLAGS) $(WCLQ) -c $(SRC)0.c
+
 test.exe: test.$(OBJ) gfx.lib 16_in.$(OBJ) 16_head.$(OBJ) $(DOSLIBLIBS) $(16LIB)
        wcl $(FLAGS) test.$(OBJ) gfx.lib 16_in.$(OBJ) 16_head.$(OBJ) $(DOSLIBLIBS) $(16LIB) -fm=test.mah
 
@@ -461,6 +466,7 @@ reinitlibs: .symbolic
        @rm -rf $(SRCLIB)jsmn
        @rm -rf 16/CatacombApocalypse
        @rm -rf 16/wolf3d
+       @rm -rf 16/keen
        @wmake -h initlibs
 
 initlibs: .symbolic
@@ -473,6 +479,7 @@ initlibs: .symbolic
        @cd 16
        @git clone https://github.com/FlatRockSoft/CatacombApocalypse.git
        @git clone https://github.com/id-Software/wolf3d.git
+       @git clone https://github.com/keendreams/keen.git
        @cd $(PDIR)
 
 ##