Add flag for -pg.

This commit is contained in:
Nicholas Marriott
2016-05-27 10:37:06 +01:00
parent 20d97eb849
commit f2ec81cf21
2 changed files with 12 additions and 0 deletions

View File

@ -37,6 +37,10 @@ if IS_COVERAGE
CFLAGS += -g -O0 --coverage
LDFLAGS += --coverage
endif
if IS_PROFILE
CFLAGS += -g -O0 -pg
LDFLAGS += -pg
endif
CPPFLAGS += -iquote.
endif