diff options
author | Javier <dev.git@javispedro.com> | 2024-06-02 20:54:46 +0200 |
---|---|---|
committer | Javier <dev.git@javispedro.com> | 2024-06-02 20:54:46 +0200 |
commit | 6def163aa0a11996d2f990fb18690a83b5e605a6 (patch) | |
tree | d3a667b036045147b54f1e7c5256f78672faf400 /makefile | |
parent | 802e8f3d32a4a497538431863a3ab178543815b6 (diff) | |
download | vbados-6def163aa0a11996d2f990fb18690a83b5e605a6.tar.gz vbados-6def163aa0a11996d2f990fb18690a83b5e605a6.zip |
add new moustest program for testing
Diffstat (limited to 'makefile')
-rw-r--r-- | makefile | 13 |
1 files changed, 11 insertions, 2 deletions
@@ -2,7 +2,7 @@ # Assuming you have sourced `owsetenv` beforehand. # All binaries to build -bins = vbmouse.exe vbsf.exe vbmouse.drv +bins = vbmouse.exe vbsf.exe vbmouse.drv moustest.exe # Inf files infs = oemsetup.inf @@ -16,7 +16,7 @@ sfdos_objs = sftsr.obj sfmain.obj kitten.obj vbox.obj # Compiler arguments for DOS dos_cflags = -bt=dos -ms -6 -osi -w3 -wcd=202 -# -ms to use small memory model (though sometimes ss != ds...) +# -ms to use small memory model (this assumes ss == ds) # -osi to optimize for size, put intrinsics inline (to avoid runtime calls) # -w3 enables warnings # -wcd=202 disables the unreferenced function warning (e.g., for inline functions in headers) @@ -78,6 +78,15 @@ vbox.obj: vbox.c .AUTODEPEND kitten.obj: kitten.c .AUTODEPEND $(compile_dos) +# Test programs +moustest_objs = moustest.obj + +moustest.exe: moustest.obj + *wlink system dos name $@ file { $(moustest_objs) } + +moustest.obj: moustest.c .AUTODEPEND + $(compile_dos) -mc -zu + # Other targets clean: .SYMBOLIC rm -f vbmouse.exe vbmouse.drv vbsf.exe vbados.flp *.obj *.map |