X-Git-Url: http://4ch.mooo.com/gitweb/?a=blobdiff_plain;f=makefile;h=855613858d3ede3e3d7349c1588d6a2e89c0c3ab;hb=033a884c3a161367f6820dbcc959111403ecd497;hp=3a187c257d14e1ea25b6caf22c72dfdebae0e3ab;hpb=0c699911e6527132d2a85ded2083c675b6ff8af0;p=16.git diff --git a/makefile b/makefile index 3a187c25..85561385 100755 --- a/makefile +++ b/makefile @@ -64,7 +64,7 @@ DOSLIBMAKEALL=.\build.bat !endif TARGET_OS = dos -MEMORYMODE = m +MEMORYMODE = l BUILD_ROOT=$+$(%__CWD__)$- #EXMMTESTDIR=16$(DIRSEP)exmmtest$(DIRSEP) @@ -109,18 +109,17 @@ HOST2DIR=~/public_html/ #ssh port HOST2PORT=22 -# # quiet flags -# WLIBQ=-q WCLQ=-zq UPXQ=-qqq -# +# symbolic debug for wsample/wprof/wd +D_FLAGS=-d1+ + # stacksize -# -STKSIZ=24576 -#32768#40960 +STKSIZ=32768 +#24576#40960 # # compile flags @@ -128,9 +127,9 @@ STKSIZ=24576 S_FLAGS=-sg -st -of+ -zu -zdf -zff -zgf -k$(STKSIZ) Z_FLAGS=-zk0 -zc#### -zp4 -ei#### -zm O_FLAGS=-opnr -oe=24 -oil+ -outback -ohm -T_FLAGS=-bt=dos -wx -m$(MEMORYMODE) -0 -fpi87 -d1 -fo=.$(OBJ)## -e=65536 +T_FLAGS=-bt=dos -wx -m$(MEMORYMODE) -0 -fpi87 $(D_FLAGS) -fo=.$(OBJ)## -e=65536 -DBUGFLAGS=-fm=$^&.meh -fd=$^& +DBUGFLAGS=$(D_FLAGS) -fm=$^&.meh -fd=$^& CPPFLAGS=-DTARGET_MSDOS=16 -DMSDOS=1 -DSTACKSIZE=$(STKSIZ) !ifeq DEBUGSERIAL 1 CPPFLAGS += -DDEBUGSERIAL @@ -199,6 +198,7 @@ EXTERNTESTEXEC = & db.exe TESTEXEC = & vidtest.exe & + paltest.exe & exmmtest.exe & vgmtest.exe & sountest.exe & @@ -280,6 +280,7 @@ tesuto.$(OBJ): $(SRC)/tesuto.c 0tesuto.exe: 0tesuto.$(OBJ) $(16LIB) gfx.lib $(DOSLIB) 0tesuto.$(OBJ): $(SRC)/0tesuto.c vidtest.exe: vidtest.$(OBJ) $(16LIB) gfx.lib $(DOSLIB) +paltest.exe: paltest.$(OBJ) $(16LIB) gfx.lib $(DOSLIB) #test2.exe: test2.$(OBJ) gfx.lib $(DOSLIB) test0.exe: test0.$(OBJ) fonttest.exe: fonttest.$(OBJ) gfx.lib @@ -316,6 +317,7 @@ wcpu.exe: wcpu.$(OBJ) $(16LIB) $(DOSLIB) bakapi.$(OBJ): $(SRC)/bakapi.c $(SRC)/bakapi.h sp2.$(OBJ): 16/fcsp2src/sp2.asm vidtest.$(OBJ): $(SRC)/vidtest.c $(SRCLIB)/16_vl.h +psltest.$(OBJ): $(SRC)/paltest.c $(SRCLIB)/16_vl.h #test2.$(OBJ): $(SRC)/test2.c $(SRCLIB)/16_vl.h test0.$(OBJ): $(SRC)/test0.c pcxtest.$(OBJ):$(SRC)/pcxtest.c $(SRCLIB)/16_vl.h @@ -458,6 +460,7 @@ dos_kb.$(OBJ): $(OLDMODEX16LIBDIR)/dos_kb.c $(OLDMODEX16LIBDIR)/dos_kb.h # clean: .symbolic @if not exist $(DOSLIBDIR)/buildall.sh wmake -s -h initlibs + @if not exist ps.exe wmake -s -h ps.exe @wmake -s -h initscript @for %f in ($(ALLEXEC)) do @if exist %f $(REMOVECOMMAND) %f !ifdef __LINUX__