ensure that dependencies are rebuilt after 'make update' so that builds don't break...
[asterisk/asterisk.git] / cdr / Makefile
index 40779a2..e11cfb9 100644 (file)
@@ -106,8 +106,11 @@ install: all
 
 uninstall:
 
-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}