]> 4ch.mooo.com Git - 16.git/blobdiff - makefile
wwww
[16.git] / makefile
index f89a92905dbb75c1886ca01b02692916e24f04f8..2a735ead81b19c4ad88b52f9af9bd43a493903e4 100755 (executable)
--- a/makefile
+++ b/makefile
@@ -64,7 +64,7 @@ AFLAGS=-mh -0 -d1
 BAKAPIFLAGS=-fh=bakapi.hed
 SFLAGS=-sg -st -of+ -zu -zdf -zff -zgf -k55808#60000#32768
 DFLAGS=-DTARGET_MSDOS=16 -DMSDOS=1 $(SFLAGS)
-ZFLAGS=-zk0 -zq -zc -zp8# -zm
+ZFLAGS=-zk0 -zc -zp8# -zq ## -zm
 CFLAGS=$(AFLAGS) $(IFLAGS)-lr -l=dos -wo##wwww
 OFLAGS=-obmiler -out -oh -ei -zp8 -fpi87  -onac -ol+ -ok####x
 FLAGS=$(CFLAGS) $(OFLAGS) $(DFLAGS) $(ZFLAGS)
@@ -83,7 +83,7 @@ TESTEXEC = exmmtest.exe test.exe pcxtest.exe pcxtest2.exe test2.exe palettec.exe
 #testemm.exe testemm0.exe fonttes0.exe miditest.exe sega.exe sountest.exe
 EXEC = 16.exe bakapi.exe $(TESTEXEC) tesuto.exe
 
-all: $(EXEC) comp
+all: $(EXEC)
 
 #
 #game and bakapi executables
@@ -422,13 +422,21 @@ clean: .symbolic
 #      @echo $(INCLUDE)
 
 comp: .symbolic
-       @upx -9 -qqq $(EXEC)
-       @upx -9 -qqq x-demo.exe
+       @upx -9 $(EXEC)
+##     @upx -9 -qqq x-demo.exe
+
+#git submodule add <repo>
+uplibs: .symbolic
+       @wmake updatelibs
 
 updatelibs: .symbolic
        @cd $(JSMNLIB)
        @git pull
        @cd ../../../
+        @cd $(DOSLIB)
+        @git pull
+       @./buildall.sh
+        @cd ../../../
 
 xlib: .symbolic
        @cd 16/xlib
@@ -444,5 +452,6 @@ mx: .symbolic
 
 mx_: .symbolic
        @cd 16/xw_
-       @wmake -f makefile.wat all
+       @wmake -f makefile all
        @cd ../../
+