Makefile: Add profile target
This commit is contained in:
parent
9593429f95
commit
eb49b013a7
5
Makefile
5
Makefile
@ -42,7 +42,12 @@ GTEST_OBJECTS=$(filter-out qswiki.o, $(WIKIOBJECTS))
|
|||||||
.DEFAULT_GOAL := qswiki
|
.DEFAULT_GOAL := qswiki
|
||||||
|
|
||||||
release: CXXFLAGS=$(RELEASE_CXXFLAGS)
|
release: CXXFLAGS=$(RELEASE_CXXFLAGS)
|
||||||
|
profile: CXXFLAGS=$(RELEASE_CXXFLAGS) -pg
|
||||||
|
profile: LDFLAGS+= -pg
|
||||||
|
|
||||||
release: qswiki
|
release: qswiki
|
||||||
|
profile: qswiki
|
||||||
|
|
||||||
qswiki: $(WIKIOBJECTS)
|
qswiki: $(WIKIOBJECTS)
|
||||||
$(CXX) $(WIKIOBJECTS) ${LDFLAGS} ${INCLUDEFLAGS} -o qswiki
|
$(CXX) $(WIKIOBJECTS) ${LDFLAGS} ${INCLUDEFLAGS} -o qswiki
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user