aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobin Haberkorn <robin.haberkorn@googlemail.com>2025-04-25 00:44:13 +0300
committerRobin Haberkorn <robin.haberkorn@googlemail.com>2025-04-25 00:44:13 +0300
commit96e10b90b1bbd85716df314272e8cad64e256f9d (patch)
tree330d10a2d119255df46fcab60bb0fdfec17dc071
parented0d2743b1f40dd136c4a7d232cd26bc457de3eb (diff)
downloadvideoteco-fork-96e10b90b1bbd85716df314272e8cad64e256f9d.tar.gz
DOS: Eliminate unused code
This reduces the binary size by a few kilobytes.
-rw-r--r--Makefile.wcc4
1 files changed, 2 insertions, 2 deletions
diff --git a/Makefile.wcc b/Makefile.wcc
index 5cd1420..57684f2 100644
--- a/Makefile.wcc
+++ b/Makefile.wcc
@@ -24,8 +24,8 @@ CFLAGS = -d0 -onasx -oh
# Perhaps it would be more elegant to have a DOS-specific config.h.
#
# Large data model: far code and data pointers
-CFLAGS += -q -wx -ze -j -0 -ml -bt=DOS @WCC_DEFS
-LDFLAGS += format dos option map option stack=16k &
+CFLAGS += -q -wx -ze -zm -j -0 -ml -bt=DOS @WCC_DEFS
+LDFLAGS += format dos option eliminate option map option stack=16k &
libpath $(%WATCOM)/lib286:$(%WATCOM)/lib286/dos
.BEFORE