diff options
author | mescalinum <mescalinum@users.sourceforge.net> | 2009-08-28 16:41:52 +0000 |
---|---|---|
committer | mescalinum <mescalinum@users.sourceforge.net> | 2009-08-28 16:41:52 +0000 |
commit | f2add340c0d41e14398e6728260f7dae424c0ea3 (patch) | |
tree | 5bc90abf1add1025164927d891bb24a8ff7ef869 | |
parent | df708ee8da3a30ff3509542791120a921089638c (diff) |
add debug flag
svn path=/trunk/externals/tclpd/; revision=12128
-rw-r--r-- | Makefile | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -1,8 +1,12 @@ #!/usr/bin/make +DEBUG=1 TCL_VERSION := $(shell echo 'puts $$tcl_version' | tclsh) INCLUDES = -I../../pd/src -I/usr/include -I/usr/include/tcl$(TCL_VERSION) CFLAGS += $(INCLUDES) -xc++ -funroll-loops -fno-operator-names -fno-omit-frame-pointer -falign-functions=16 -O2 -Wall -fPIC +ifeq ($(DEBUG),1) + CFLAGS += -O0 -g -ggdb -DDEBUG +endif LDSOFLAGS += -lm -ltcl$(TCL_VERSION) CXX = g++ OS = linux |