aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJavier <dev.git@javispedro.com>2026-11-30 23:10:08 +0100
committerJavier <dev.git@javispedro.com>2026-11-30 23:10:08 +0100
commitdd9f13b0b90a43178620b5aca314ee1168311557 (patch)
treef13d7257d2200cbc0624bb944d920fa03f6c1cbc
parent510edbdac20cc6b2201c6f85fc9460fad13a83f3 (diff)
downloadvbados-dd9f13b0b90a43178620b5aca314ee1168311557.tar.gz
vbados-dd9f13b0b90a43178620b5aca314ee1168311557.zip
makefile: avoid issues with quoting rules
-rw-r--r--dosstub.asm2
-rw-r--r--dosstub.lnk1
-rw-r--r--makefile8
3 files changed, 6 insertions, 5 deletions
diff --git a/dosstub.asm b/dosstub.asm
index fd5c164..2d043e2 100644
--- a/dosstub.asm
+++ b/dosstub.asm
@@ -3,7 +3,7 @@
.code
PUBLIC main
main:
-; This just builds a stub MZ exec that is exactly 1K long, see mousew2.lnk for details
+; This just builds a stub MZ exec that is exactly 1K long, see mousew16.lnk for details
mov ax,0x4c01
int 0x21 ; just end with error code
db 400h-40h-5h dup(0) ; 1K - sizeof full MZ header - size of above code
diff --git a/dosstub.lnk b/dosstub.lnk
new file mode 100644
index 0000000..298f382
--- /dev/null
+++ b/dosstub.lnk
@@ -0,0 +1 @@
+option fullheader
diff --git a/makefile b/makefile
index dedf506..01c2fa4 100644
--- a/makefile
+++ b/makefile
@@ -72,8 +72,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 +117,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 $^@ ::