diff options
Diffstat (limited to 'Makefile')
| -rw-r--r-- | Makefile | 8 |
1 files changed, 6 insertions, 2 deletions
@@ -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 |
