]> 4ch.mooo.com Git - 16.git/blobdiff - makefile
16_ca needs huge amounts of work and I should remember what needs to be done soon...
[16.git] / makefile
index 383b14b8a0724f8542d834e7a22354505d0674b8..6d6b065a78d66cdb8bc87066bba533510798f7f6 100755 (executable)
--- a/makefile
+++ b/makefile
@@ -116,16 +116,22 @@ WLIBQ=-q
 WCLQ=-zq
 UPXQ=-qqq
 
+#
+# stacksize
+#
+STKSIZ=32768
+#24576#40960
+
 #
 # compile flags
 #
-S_FLAGS=-sg -st -of+ -zu -zdf -zff -zgf -k24576#32768#40960
+S_FLAGS=-sg -st -of+ -zu -zdf -zff -zgf -k$(STKSIZ)
 Z_FLAGS=-zk0 -zc -zm#### -zp4 -ei
 O_FLAGS=-opnr -oe=24 -oil+ -outback -ohm
 T_FLAGS=-bt=dos -wx -m$(MEMORYMODE) -0 -fpi87 -d1 -fo=.$(OBJ)## -e=65536
 
 DBUGFLAGS=-fm=$^&.meh -fd=$^&
-CPPFLAGS=-DTARGET_MSDOS=16 -DMSDOS=1
+CPPFLAGS=-DTARGET_MSDOS=16 -DMSDOS=1 -DSTACKSIZE=STKSIZ
 !ifeq DEBUGSERIAL 1
 CPPFLAGS += -DDEBUGSERIAL
 !endif