summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorzelgadis <zelgadis@c06c8d41-db1a-0410-9941-cceddc491573>2008-12-20 06:20:09 +0000
committerzelgadis <zelgadis@c06c8d41-db1a-0410-9941-cceddc491573>2008-12-20 06:20:09 +0000
commite3d91f62c508250212c31adba911220b0499d6f9 (patch)
treef3f180faea3cad2535ddd26450fd9d54a5e2910a
parent53eb9a06e5a983ac483bc427aa9125fb74e2fc15 (diff)
downloadcrawl-ref-e3d91f62c508250212c31adba911220b0499d6f9.tar.gz
crawl-ref-e3d91f62c508250212c31adba911220b0499d6f9.zip
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
-rw-r--r--crawl-ref/source/makefile.unix5
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)