-scroll.exe: scroll.$(OBJ) mapread.$(OBJ) jsmn.$(OBJ) $(16LIBOBJS) gfx.lib
- wcl $(FLAGS) scroll.$(OBJ) mapread.$(OBJ) jsmn.$(OBJ) $(16LIBOBJS) gfx.lib -fm=scroll.map
-scroll.$(OBJ): $(SRC)scroll.c
- wcl $(FLAGS) -c $(SRC)scroll.c
-
-tesuto.exe: tesuto.$(OBJ)
- wcl -mh -d2 tesuto.$(OBJ)
-tesuto.$(OBJ): $(SRC)tesuto.c
- wcl -mh -d2 -c $(SRC)tesuto.c
-
-#sega.exe: sega.$(OBJ)
-# wcl $(FLAGS) sega.$(OBJ)
-#sega.$(OBJ): $(SRC)sega.c
-# wcl $(FLAGS) -c $(SRC)sega.c
-
-test.exe: test.$(OBJ) gfx.lib
- wcl $(FLAGS) test.$(OBJ) gfx.lib -fm=test.map
-
-test2.exe: test2.$(OBJ) gfx.lib
- wcl $(FLAGS) test2.$(OBJ) gfx.lib -fm=test2.map
-
-fonttest.exe: fonttest.$(OBJ) $(16LIBOBJS) gfx.lib
- wcl $(FLAGS) fonttest.$(OBJ) $(16LIBOBJS) gfx.lib -fm=fonttest.map
-
-#fonttes0.exe: fonttes0.$(OBJ) $(16LIBOBJS)
-# wcl $(FLAGS) fonttes0.$(OBJ) $(16LIBOBJS)
-
-fontgfx.exe: fontgfx.$(OBJ) $(16LIBOBJS) gfx.lib
- wcl $(FLAGS) fontgfx.$(OBJ) $(16LIBOBJS) gfx.lib -fm=fontgfx.map
-
-inputest.exe: inputest.$(OBJ) $(16LIBOBJS)
- wcl $(FLAGS) -D__DEBUG_InputMgr__=1 inputest.$(OBJ) $(16LIBOBJS) -fm=inputest.map
-
-#sountest.exe: sountest.$(OBJ) $(16LIBOBJS)
-# wcl $(FLAGS) sountest.$(OBJ) $(16LIBOBJS)
-
-#miditest.exe: miditest.$(OBJ) $(16LIBOBJS) $(DOSLIBEXMMOBJ) midi.$(OBJ)
-# wcl $(FLAGS) miditest.$(OBJ) $(16LIBOBJS) $(DOSLIBEXMMOBJ) midi.$(OBJ)
-
-tsthimem.exe: tsthimem.$(OBJ) $(16LIBOBJS) $(DOSLIBEXMMOBJ)
- wcl $(FLAGS) tsthimem.$(OBJ) $(16LIBOBJS) $(DOSLIBEXMMOBJ) -fm=tsthimem.map
-
-#testemm.exe: testemm.$(OBJ) $(16LIBOBJS) $(DOSLIBEXMMOBJ)
-# wcl $(FLAGS) testemm.$(OBJ) $(16LIBOBJS) $(DOSLIBEXMMOBJ)
-
-#testemm0.exe: testemm0.$(OBJ) $(16LIBOBJS) $(DOSLIBEXMMOBJ)
-# wcl $(FLAGS) testemm0.$(OBJ) $(16LIBOBJS) $(DOSLIBEXMMOBJ)
-
-pcxtest.exe: pcxtest.$(OBJ) gfx.lib
- wcl $(FLAGS) pcxtest.$(OBJ) gfx.lib -fm=pcxtest.map
-
-palettec.exe: palettec.$(OBJ) $(16LIBOBJS) gfx.lib
- wcl $(FLAGS) palettec.$(OBJ) $(16LIBOBJS) gfx.lib -fm=palettec.map
-
-pcxtest2.exe: pcxtest2.$(OBJ) gfx.lib
- wcl $(FLAGS) pcxtest2.$(OBJ) gfx.lib -fm=pcxtest2.map
-
-maptest.exe: maptest.$(OBJ) mapread.$(OBJ) jsmn.$(OBJ) $(16LIBOBJS) gfx.lib
- wcl $(FLAGS) maptest.$(OBJ) mapread.$(OBJ) jsmn.$(OBJ) $(16LIBOBJS) gfx.lib -fm=maptest.map
-
-#maptest0.exe: maptest0.$(OBJ) fmapread.$(OBJ) farjsmn.$(OBJ)
-# wcl $(FLAGS) $(MFLAGS) maptest0.$(OBJ) fmapread.$(OBJ) farjsmn.$(OBJ)
-
-#emmtest.exe: emmtest.$(OBJ) memory.$(OBJ)
-# wcl $(FLAGS) $(MFLAGS) emmtest.$(OBJ) memory.$(OBJ)
-
-#emsdump.exe: emsdump.$(OBJ) memory.$(OBJ)
-# wcl $(FLAGS) $(MFLAGS) emsdump.$(OBJ) memory.$(OBJ)
-
-fmemtest.exe: fmemtest.$(OBJ) $(16LIBOBJS)
- wcl $(FLAGS) fmemtest.$(OBJ) $(16LIBOBJS) -fm=fmemtest.map
-
-exmmtest.exe: exmmtest.$(OBJ) $(16LIBOBJS)
- wcl $(FLAGS) exmmtest.$(OBJ) -fm=exmmtest.map $(16LIBOBJS)
-
-vgmtest.exe: vgmtest.$(OBJ) vgmsnd.lib $(16LIBOBJS)
- wcl $(FLAGS) vgmtest.$(OBJ) vgmsnd.lib -fm=vgmtest.map $(16LIBOBJS)
- #====wcl -mc vgmtest.$(OBJ) $(VGMSNDOBJ) -fm=vgmtest.map
-
+S_FLAGS=-sg -st -of+ -zu -zdf -zff -zgf -k24576#32768
+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
+!ifeq DEBUGSERIAL 1
+CPPFLAGS += -DDEBUGSERIAL
+!endif
+AFLAGS=$(WCLQ) $(T_FLAGS)
+CFLAGS=$(WCLQ) $(T_FLAGS) -wo -i"$(DOSLIBDIR)" $(O_FLAGS) $(S_FLAGS) $(Z_FLAGS)
+LFLAGS=$(WCLQ) -l=dos $(S_FLAGS) $(DBUGFLAGS)
+LIBFLAGS=$(WLIBQ) -b -n