add dev profiling
This commit is contained in:
parent
d33ff9e13b
commit
efd9e95b26
2 changed files with 4 additions and 2 deletions
3
.gitignore
vendored
3
.gitignore
vendored
|
|
@ -4,3 +4,6 @@
|
|||
/Zmakefile
|
||||
/TODO
|
||||
/lxsh
|
||||
/gmon.out
|
||||
/profiling/*
|
||||
/profiling.*
|
||||
|
|
|
|||
3
Makefile
3
Makefile
|
|
@ -18,7 +18,7 @@ CXXFLAGS= -I$(IDIR) -Wall -pedantic -std=c++17
|
|||
ifeq ($(DEBUG),true)
|
||||
# debugging flags
|
||||
CC=clang++
|
||||
CXXFLAGS += -g
|
||||
CXXFLAGS += -g -pg
|
||||
else
|
||||
# release flags
|
||||
CXXFLAGS += -O2
|
||||
|
|
@ -34,7 +34,6 @@ endif
|
|||
## END CONFIG ##
|
||||
|
||||
|
||||
|
||||
$(shell mkdir -p $(ODIR))
|
||||
$(shell mkdir -p $(BINDIR))
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue