aboutsummaryrefslogtreecommitdiff
path: root/makefile
diff options
context:
space:
mode:
authorJavier <dev.git@javispedro.com>2022-06-12 19:06:31 +0200
committerJavier <dev.git@javispedro.com>2022-06-12 19:06:31 +0200
commitfbf3eb7918b1dc015023708eb6d32e65934a1128 (patch)
tree13f6113bc54c076eb0cae6a523c0a933c6889fa9 /makefile
parent367db359784ef6a1c9f904e91e51ef61af4a92e9 (diff)
downloadvbados-fbf3eb7918b1dc015023708eb6d32e65934a1128.tar.gz
vbados-fbf3eb7918b1dc015023708eb6d32e65934a1128.zip
define IN_TSR macro in all tsr files
Diffstat (limited to 'makefile')
-rw-r--r--makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/makefile b/makefile
index 9f11660..7f947ce 100644
--- a/makefile
+++ b/makefile
@@ -13,7 +13,7 @@ doscflags = -bt=dos -ms -6 -osi -w3 -wcd=202
# -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)
-dostsrcflags = -zu -s -g=RES_GROUP -nd=RES -nt=RES_TEXT -nc=RES_CODE
+dostsrcflags = -DIN_TSR -zu -s -g=RES_GROUP -nd=RES -nt=RES_TEXT -nc=RES_CODE
# -s to disable stack checks, since it inserts calls to the runtime from the TSR part
# -zu since ss != ds on the TSR