summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorTor Aamodt <[email protected]>2011-07-26 11:55:18 -0800
committerAndrew Boktor <[email protected]>2014-08-14 13:18:22 -0700
commit8a80834fca8e7f45569cb1eb0b0c18c1d5aa6361 (patch)
tree6b302a7ab91c78203f2fd0afc5e5d188b4316b1a /Makefile
parenta7e48367e84f3971809eef68efb84cb3d0a74ad9 (diff)
fixup some dangling references
update README and CHANGES to hopefully anticipate most basic questions we'll see [git-p4: depot-paths = "//depot/gpgpu_sim_research/fermi/distribution/": change = 9880]
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile8
1 files changed, 6 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index 147c052..cb74099 100644
--- a/Makefile
+++ b/Makefile
@@ -28,10 +28,14 @@
# comment out next line to disable OpenGL support
# export OPENGL_SUPPORT=1
-
-export DEBUG?=0
export SNOW?=
+ifeq ($(GPGPUSIM_CONFIG), debug)
+ export DEBUG=1
+else
+ export DEBUG=0
+endif
+
ifeq ($(DEBUG), 1)
export SIM_LIB_DIR=lib/debug
export SIM_OBJ_FILES_DIR=build/debug