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 /channels | |
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 'channels')
-rw-r--r-- | channels/Makefile | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/channels/Makefile b/channels/Makefile index 8bb737ae9..94b324b96 100644 --- a/channels/Makefile +++ b/channels/Makefile @@ -68,7 +68,6 @@ ifneq ($(wildcard h323/Makefile.ast),) H323LDFLAGS+=-Wl,--version-script=h323/noexport.map clean:: $(MAKE) -C h323 clean - rm -f h323/Makefile else h323/libchanh323.a h323/Makefile.ast: $(CMD_PREFIX) $(MAKE) -C h323 @@ -81,6 +80,9 @@ h323/libchanh323.a h323/Makefile.ast: $(CMD_PREFIX) exit 1 endif +dist-clean:: + rm -f h323/Makefile + gentone: gentone.c $(ECHO_PREFIX) echo " [LD] $^ -> $@" $(CMD_PREFIX) $(HOST_CC) $(STATIC_BUILD) -o $@ $(HOST_CFLAGS) $(HOST_LDFLAGS) $^ $(LIBS) |