Skip to content
Permalink
Browse files

add support for compiling with debug symbols

  • Loading branch information...
hoijui committed Feb 17, 2018
1 parent b3dbc80 commit f916db554b06e8f4b79e6e5d5c2b143c36d39be0
Showing with 4 additions and 0 deletions.
  1. +4 −0 makefile
@@ -21,6 +21,10 @@ $(info VERSION: $(VERSION))
SOURCES := $(wildcard src/*.cpp)
CXXFLAGS += -std=c++11 -Isrc -Wall -Wno-sign-compare -DAPP=\"$(APP)\" -DVERSION=\"$(VERSION)\"

ifdef DEBUG
CXXFLAGS += -g
endif

all: app

include mk/top.mk

0 comments on commit f916db5

Please sign in to comment.
You can’t perform that action at this time.