summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/makefile
diff options
context:
space:
mode:
authorMatthew Cline <zelgadis@sourceforge.net>2009-10-15 14:18:18 -0700
committerMatthew Cline <zelgadis@sourceforge.net>2009-10-15 14:18:18 -0700
commitab5aa63e27db86240b4fdeabd54e096eaa02c59a (patch)
tree02db05e02d68c273caf53a95d636dc75294faee3 /crawl-ref/source/makefile
parent4b1c1bc74a713a30b20f403b80d4a5f050e5fc8b (diff)
downloadcrawl-ref-ab5aa63e27db86240b4fdeabd54e096eaa02c59a.tar.gz
crawl-ref-ab5aa63e27db86240b4fdeabd54e096eaa02c59a.zip
makefile: New targets clean-pcre and clean-contrib
Added clean target for pcre "clean-pcre", and a target to clean out all contrib subdirs, "clean-contrib"
Diffstat (limited to 'crawl-ref/source/makefile')
-rw-r--r--crawl-ref/source/makefile10
1 files changed, 8 insertions, 2 deletions
diff --git a/crawl-ref/source/makefile b/crawl-ref/source/makefile
index a6ad9608d0..0cf67f770c 100644
--- a/crawl-ref/source/makefile
+++ b/crawl-ref/source/makefile
@@ -555,7 +555,8 @@ PKG_TIDY_LIST := $(UTIL)*.o $(LEVCOMP) *.o \
$(UTIL)*.tab.cc $(UTIL)*.tab.h $(UTIL)*.lex.cc *.ixx
PKG_EXCLUDES := $(PWD)/misc/src-pkg-excludes.lst
-.PHONY: install clean clean-lua clean-sql distclean debug profile wizard
+.PHONY: install clean clean-contrib clean-lua clean-sql clean-prce distclean \
+ debug profile wizard
##########################################################################
@@ -668,7 +669,12 @@ clean-lua:
clean-sql:
+$(MAKE) -C $(SQLSRC) clean
-distclean: clean clean-lua clean-sql clean-rltiles
+clean-pcre:
+ +$(MAKE) -C $(PCRESRC) clean
+
+clean-contrib: clean-lua clean-sql clean-pcre
+
+distclean: clean clean-contrib clean-rltiles
$(RM) bones.* morgue.txt scores $(GAME) *.sav core *.0* *.lab $(DEPENDENCY_MKF)
.contrib-ok: