diff options
author | qwell <qwell@f38db490-d61c-443f-a65b-d21fe96a405b> | 2007-10-01 21:52:45 +0000 |
---|---|---|
committer | qwell <qwell@f38db490-d61c-443f-a65b-d21fe96a405b> | 2007-10-01 21:52:45 +0000 |
commit | 5117af8b6ce998e74bdcfcaf54b3ebfbc5739ee0 (patch) | |
tree | 375c8b01df9b8c7011f513c2a9aed00ef744bcba /Makefile.rules | |
parent | 6c41fcab5e61440e473a08ab15244982cb54e02c (diff) |
Add dist-clean support for subdirs.
Change h323 to only remove the Makefile on a dist-clean, rather than a clean.
This fixes a bug I found with trying to run make after a make clean
git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@84291 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'Makefile.rules')
-rw-r--r-- | Makefile.rules | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/Makefile.rules b/Makefile.rules index 9d20c5a91..735ecf68b 100644 --- a/Makefile.rules +++ b/Makefile.rules @@ -17,6 +17,8 @@ -include $(ASTTOPDIR)/makeopts +.PHONY: dist-clean + ifeq ($(NOISY_BUILD),) ECHO_PREFIX=@ CMD_PREFIX=@ @@ -79,3 +81,5 @@ endif %: %.o $(ECHO_PREFIX) echo " [LD] $^ -> $@" $(CMD_PREFIX) $(CXX) $(STATIC_BUILD) -o $@ $(PTHREAD_CFLAGS) $(ASTLDFLAGS) $^ $(PTHREAD_LIBS) $(LIBS) + +dist-clean:: |