summaryrefslogtreecommitdiff
path: root/Makefile.in
diff options
context:
space:
mode:
authorCyrill Gorcunov <gorcunov@gmail.com>2011-06-25 19:51:44 +0400
committerCyrill Gorcunov <gorcunov@gmail.com>2011-06-25 19:51:44 +0400
commitfc0c1281dbd87b4e7b84ee31b1229466f982a927 (patch)
treefcd86e581b7db8e3b7899f98704294ca850f5fb3 /Makefile.in
parent82667ff5d309667082415c1c6f8b9096021985d8 (diff)
downloadnasm-fc0c1281dbd87b4e7b84ee31b1229466f982a927.tar.gz
nasm-fc0c1281dbd87b4e7b84ee31b1229466f982a927.tar.bz2
nasm-fc0c1281dbd87b4e7b84ee31b1229466f982a927.zip
preproc: Add tokenization tracing
It's a bit more than that, also TRACE=1 make flag added to run this facility on and off at compiling time. Debug feature only, doesn't affect regular users. Signed-off-by: Cyrill Gorcunov <gorcunov@gmail.com>
Diffstat (limited to 'Makefile.in')
-rw-r--r--Makefile.in5
1 files changed, 5 insertions, 0 deletions
diff --git a/Makefile.in b/Makefile.in
index 54fafe9..89f2bed 100644
--- a/Makefile.in
+++ b/Makefile.in
@@ -42,6 +42,11 @@ FIND = find
O = @OBJEXT@
X = @EXEEXT@
+# Debug stuff
+ifeq ($(TRACE),1)
+ CFLAGS += -DNASM_TRACE
+endif
+
.SUFFIXES: .c .i .s .$(O) .1 .man
.PHONY: all doc rdf install clean distclean cleaner spotless install_rdf test