aboutsummaryrefslogtreecommitdiff
path: root/makefile
diff options
context:
space:
mode:
Diffstat (limited to 'makefile')
-rw-r--r--makefile11
1 files changed, 5 insertions, 6 deletions
diff --git a/makefile b/makefile
index dedf506..a3c3486 100644
--- a/makefile
+++ b/makefile
@@ -27,11 +27,10 @@ dostsr_cflags = $(dos_cflags) -DIN_TSR -zu -s -g=RES_GROUP -nd=RES -nt=RES_TEXT
# -zu since ss != ds on the TSR
# Compiler arguments for W16 .DLL/.DRV files
-w16dll_cflags = -bt=windows -bd -mc -zu -zc -s -6 -osi -w3 -wcd=202
+w16dll_cflags = -bt=windows -bd -mc -zu -s -6 -osi -w3 -wcd=202
# -bd to build DLL
# -mc to use compact memory model (far data pointers, ss != ds in a DLL)
# -zu for DLL calling convention (ss != ds)
-# -zc put const strings in the code segment (which may be discardable/moveable)
# -s to disable stack checks, since the runtime uses MessageBox() to abort (which we can't call from mouse.drv)
# Full compiler command lines
@@ -72,8 +71,8 @@ mousew16.obj: mousew16.c .AUTODEPEND
$(compile_w16dll)
# stub/fake DOS exec header used in vbmouse.drv, see mousew16.lnk
-dosstub.exe: dosstub.asm .AUTODEPEND
- *wcl -fo=$^@ $[@ -\"option fullheader\"
+dosstub.exe: dosstub.asm dosstub.lnk
+ *wcl @dosstub.lnk -fe=$^@ $[@
# DOS shared folders
vbsf.exe: vbsf.lnk $(sfdos_objs) kittenc.exe
@@ -117,8 +116,8 @@ kittenc.exe: kittenc.c
# Other targets
clean: .SYMBOLIC
rm -f vbados.zip vbados.flp vbasrc.zip
- rm -f $(bins) $(host_bins)
- rm -f *.obj *.map
+ rm -f $(bins) $(host_bins) dosstub.exe
+ rm -f *.o *.obj *.map
vbados.flp:
mformat -C -f 1440 -v VBADOS -i $^@ ::