ensure that dependencies are rebuilt after 'make update' so that builds don't break...
[asterisk/asterisk.git] / funcs / Makefile
index 493ec3a..f2f8a4b 100644 (file)
@@ -26,8 +26,11 @@ endif
 
 all: $(MODS)
 
-clean:
-       rm -f *.so *.o .depend
+clean-depend:
+       rm -f .depend
+
+clean: clean-depend
+       rm -f *.so *.o
 
 %.so : %.o
        $(CC) $(SOLINK) -o $@ ${CYGSOLINK} $< ${CYGSOLIB}