ensure that dependencies are rebuilt after 'make update' so that builds don't break...
[asterisk/asterisk.git] / agi / Makefile
index 5f2a6af..d9d10dc 100644 (file)
@@ -39,8 +39,11 @@ eagi-test: eagi-test.o
 eagi-sphinx-test: eagi-sphinx-test.o
        $(CC) $(CFLAGS) -o eagi-sphinx-test eagi-sphinx-test.o $(LIBS) 
 
-clean:
-       rm -f *.so *.o look .depend eagi-test eagi-sphinx-test
+clean-depend:
+       rm -f .depend
+
+clean: clean-depend
+       rm -f *.so *.o look eagi-test eagi-sphinx-test
 
 %.so : %.o
        $(CC) -shared -Xlinker -x -o $@ $<