aboutsummaryrefslogtreecommitdiffstats
path: root/apps/Makefile
diff options
context:
space:
mode:
authorkpfleming <kpfleming@f38db490-d61c-443f-a65b-d21fe96a405b>2006-02-12 16:52:42 +0000
committerkpfleming <kpfleming@f38db490-d61c-443f-a65b-d21fe96a405b>2006-02-12 16:52:42 +0000
commite217105bfc285f1b94ac99781a59efa3e7ed47db (patch)
tree1883e463a59ddee6ac9df55e3a9bb38ca50c14ca /apps/Makefile
parent5d9ed5739aab2b302efc178d21e6c75672369db3 (diff)
ensure that dependencies are rebuilt after 'make update' so that builds don't break when files are removed/renamed
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@9691 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'apps/Makefile')
-rw-r--r--apps/Makefile7
1 files changed, 5 insertions, 2 deletions
diff --git a/apps/Makefile b/apps/Makefile
index b8a6b91f0..988645d61 100644
--- a/apps/Makefile
+++ b/apps/Makefile
@@ -63,8 +63,11 @@ endif
all: $(MODS)
-clean:
- rm -f *.so *.o look .depend
+clean-depend:
+ rm -f .depend
+
+clean: clean-depend
+ rm -f *.so *.o look
%.so : %.o
$(CC) $(SOLINK) -o $@ ${CYGSOLINK} $< ${CYGSOLIB}