#-zkl = current codepage
DFLAGS=-DTARGET_MSDOS=16 -DMSDOS=1 -zm
-CFLAGS=-zk0 -wo -x -mc -zu# -k16384# -zdp# -zp16 -zq
+CFLAGS=-zk0 -wo -x -mc -zu -k32768#16384# -zdp# -zp16 -zq
OFLAGS=-ot -ox -ob -oh -or# -om -ol -ol+
FLAGS=-0 -d2 -lr $(OFLAGS) $(CFLAGS) $(DFLAGS)
SRC=src$(DIRSEP)
SRCLIB=$(SRC)lib$(DIRSEP)
JSMNLIB=$(SRCLIB)jsmn$(DIRSEP)
-EXMMLIB=$(SRCLIB)exmm$(DIRSEP)
+#EXMMLIB=$(SRCLIB)exmm$(DIRSEP)
DOSLIB=$(SRCLIB)doslib$(DIRSEP)
WCPULIB=$(SRCLIB)wcpu$(DIRSEP)
16LIBOBJS = 16_in.$(OBJ) 16_mm.$(OBJ) wcpu.$(OBJ) 16_head.$(OBJ) scroll16.$(OBJ) 16_ca.$(OBJ)
GFXLIBOBJS = modex16.$(OBJ) bitmap.$(OBJ) planar.$(OBJ) 16text.$(OBJ)
-all: 16.exe exmmtest.exe test.exe pcxtest.exe test2.exe palettec.exe maptest.exe fmemtest.exe fonttest.exe fontgfx.exe sountest.exe tsthimem.exe inputest.exe
+all: 16.exe mmtest.exe test.exe pcxtest.exe test2.exe palettec.exe maptest.exe fmemtest.exe fonttest.exe fontgfx.exe sountest.exe tsthimem.exe inputest.exe
#testemm.exe testemm0.exe fonttes0.exe miditest.exe
#
fmemtest.exe: fmemtest.$(OBJ) 16.lib
wcl $(FLAGS) fmemtest.$(OBJ) 16.lib
-exmmtest.exe: exmmtest.$(OBJ) 16.lib
- wcl $(FLAGS) exmmtest.$(OBJ) 16.lib
+mmtest.exe: mmtest.$(OBJ) 16.lib
+ wcl $(FLAGS) mmtest.$(OBJ) 16.lib
#
#executable's objects
tsthimem.$(OBJ): $(SRC)tsthimem.c
wcl $(FLAGS) -c $(SRC)tsthimem.c
-exmmtest.$(OBJ): $(SRC)exmmtest.c
- wcl $(FLAGS) -c $(SRC)exmmtest.c
+mmtest.$(OBJ): $(SRC)mmtest.c
+ wcl $(FLAGS) -c $(SRC)mmtest.c
#
#non executable objects libraries