Skip to content

Commit

Permalink
Add PROFILE make flag
Browse files Browse the repository at this point in the history
  • Loading branch information
dspinellis committed Aug 1, 2024
1 parent c33c3d1 commit 2821ac5
Showing 1 changed file with 8 additions and 3 deletions.
11 changes: 8 additions & 3 deletions src/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -98,9 +98,14 @@ CFLAGS+=-g
CXXFLAGS+=-g
# -D_GLIBCXX_CONCEPT_CHECKS
else
CPPFLAGS+=-DPRODUCTION
CFLAGS+=-O3
CXXFLAGS+=-O3
ifdef PROFILE
CFLAGS+=-O0 -g -pg
CXXFLAGS+=-O0 -g -pg
else
CPPFLAGS+=-DPRODUCTION
CFLAGS+=-O3
CXXFLAGS+=-O3
endif
endif

# Test coverage analysis
Expand Down

0 comments on commit 2821ac5

Please sign in to comment.