diff options
author | Cyrill Gorcunov <gorcunov@gmail.com> | 2011-06-25 19:51:44 +0400 |
---|---|---|
committer | Cyrill Gorcunov <gorcunov@gmail.com> | 2011-06-25 19:51:44 +0400 |
commit | fc0c1281dbd87b4e7b84ee31b1229466f982a927 (patch) | |
tree | fcd86e581b7db8e3b7899f98704294ca850f5fb3 /Makefile.in | |
parent | 82667ff5d309667082415c1c6f8b9096021985d8 (diff) | |
download | nasm-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.in | 5 |
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 |