summaryrefslogtreecommitdiff
path: root/src/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'src/Makefile')
-rw-r--r--src/Makefile5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/Makefile b/src/Makefile
index b20186c..cc31764 100644
--- a/src/Makefile
+++ b/src/Makefile
@@ -30,6 +30,7 @@
# GPGPU-Sim Makefile
DEBUG?=0
+TRACE?=1
include ../version_detection.mk
@@ -40,6 +41,10 @@ ifeq ($(GNUC_CPP0X), 1)
CXXFLAGS += -std=c++0x
endif
+ifeq ($(TRACE),1)
+ CXXFLAGS += -DTRACING_ON=1
+endif
+
ifneq ($(DEBUG),1)
OPTFLAGS += -O3
else