From e3d91f62c508250212c31adba911220b0499d6f9 Mon Sep 17 00:00:00 2001 From: zelgadis Date: Sat, 20 Dec 2008 06:20:09 +0000 Subject: Merge r7883: don't needlessly re-link the crawl binary when using the "debug" target. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/branches/stone_soup-0.4@7884 c06c8d41-db1a-0410-9941-cceddc491573 --- crawl-ref/source/makefile.unix | 5 +++-- 1 file 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) -- cgit v1.2.3