diff options
-rw-r--r-- | crawl-ref/source/makefile.unix | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/crawl-ref/source/makefile.unix b/crawl-ref/source/makefile.unix index 2b55f4bd15..aaff00d429 100644 --- a/crawl-ref/source/makefile.unix +++ b/crawl-ref/source/makefile.unix @@ -279,8 +279,9 @@ distclean: clean clean-lua clean-sql $(GAME): $(GAME_DEPENDS) ${CXX} ${LDFLAGS} $(CFLAGS) $(OBJECTS) -o $(GAME) $(LIB) -debug: $(GAME_DEPENDS) - ${CXX} ${LDFLAGS} $(CFLAGS) $(OBJECTS) -o $(GAME) $(LIB) +.PHONY : debug + +debug: $(GAME) profile: $(GAME_DEPENDS) ${CXX} -g -p ${LDFLAGS} $(CFLAGS) $(OBJECTS) -o $(GAME) $(LIB) |