ensure that dependencies are rebuilt after 'make update' so that builds don't break...
[asterisk/asterisk.git] / formats / Makefile
index 108e85e..80143e5 100644 (file)
@@ -31,8 +31,11 @@ endif
 
 all: depend $(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}