diff options
author | H. Peter Anvin <hpa@zytor.com> | 2008-01-21 16:18:44 -0800 |
---|---|---|
committer | H. Peter Anvin <hpa@zytor.com> | 2008-01-21 16:18:44 -0800 |
commit | 73398c50123459292209a27e4c3b7d76c62f18fe (patch) | |
tree | c5270c1fdd225870fb47f3210f3428cca8c582fd /Mkfiles | |
parent | 9964558613deb9423491ad4e52e54dcdeabe57b1 (diff) | |
download | nasm-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')
-rw-r--r-- | Mkfiles/openwcom.mak | 3 | ||||
-rw-r--r-- | Mkfiles/owlinux.mak | 3 |
2 files changed, 4 insertions, 2 deletions
diff --git a/Mkfiles/openwcom.mak b/Mkfiles/openwcom.mak index 9905ffd..efbf977 100644 --- a/Mkfiles/openwcom.mak +++ b/Mkfiles/openwcom.mak @@ -14,7 +14,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 ALL_CFLAGS = $(BUILD_CFLAGS) $(INTERNAL_CFLAGS) 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 |