From ab5aa63e27db86240b4fdeabd54e096eaa02c59a Mon Sep 17 00:00:00 2001 From: Matthew Cline Date: Thu, 15 Oct 2009 14:18:18 -0700 Subject: 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" --- crawl-ref/source/makefile | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) (limited to 'crawl-ref/source/makefile') 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: -- cgit v1.2.3-54-g00ecf