Skip to content
Snippets Groups Projects
Commit 3db23b18 authored by Assaf Gordon's avatar Assaf Gordon
Browse files

Makefile: add DEBUG compiler option.

To build a debug version, run "make DEBUG=1"
parent 5e06d44f
No related branches found
No related tags found
No related merge requests found
......@@ -14,7 +14,11 @@ export BIN_DIR = bin
export SRC_DIR = src
export UTIL_DIR = src/utils
export CXX = g++
ifeq ($(DEBUG),1)
export CXXFLAGS = -Wall -O0 -g -fno-inline -fkeep-inline-functions -D_FILE_OFFSET_BITS=64 -fPIC -DDEBUG -D_DEBUG
else
export CXXFLAGS = -Wall -O2 -D_FILE_OFFSET_BITS=64 -fPIC
endif
export LIBS = -lz
export BT_ROOT = src/utils/BamTools/
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment