summaryrefslogtreecommitdiff
path: root/Mkfiles/owlinux.mak
diff options
context:
space:
mode:
authorH. Peter Anvin <hpa@zytor.com>2008-01-21 16:18:44 -0800
committerH. Peter Anvin <hpa@zytor.com>2008-01-21 16:18:44 -0800
commit73398c50123459292209a27e4c3b7d76c62f18fe (patch)
treec5270c1fdd225870fb47f3210f3428cca8c582fd /Mkfiles/owlinux.mak
parent9964558613deb9423491ad4e52e54dcdeabe57b1 (diff)
downloadnasm-73398c50123459292209a27e4c3b7d76c62f18fe.tar.gz
nasm-73398c50123459292209a27e4c3b7d76c62f18fe.tar.bz2
nasm-73398c50123459292209a27e4c3b7d76c62f18fe.zip
OpenWatcom makefiles: add DEBUG option
Add a Makefile variable, DEBUG, which can be used to set debug options (-d2, -DLOGALLOC, etc.)
Diffstat (limited to 'Mkfiles/owlinux.mak')
-rw-r--r--Mkfiles/owlinux.mak3
1 files changed, 2 insertions, 1 deletions
diff --git a/Mkfiles/owlinux.mak b/Mkfiles/owlinux.mak
index f8f7d6e..170162c 100644
--- a/Mkfiles/owlinux.mak
+++ b/Mkfiles/owlinux.mak
@@ -28,7 +28,8 @@ bindir = $(prefix)/bin
mandir = $(prefix)/man
CC = wcl386
-CFLAGS = -3 -ox -wx -ze -fpi
+DEBUG =
+CFLAGS = -3 -ox -wx -ze -fpi $(DEBUG)
BUILD_CFLAGS = $(CFLAGS) $(TARGET_FLAGS) # -I$(srcdir)/inttypes
INTERNAL_CFLAGS = -I$(srcdir) -I. \
-DHAVE_SNPRINTF -DHAVE_VSNPRINTF