add .depend / .PHONY support

This commit is contained in:
Mike Frysinger
2007-04-13 13:20:26 +00:00
parent 2348f115c0
commit 2ea37cdae3
2 changed files with 22 additions and 0 deletions

View File

@@ -152,3 +152,9 @@ install: $(TARGET)
clean:
rm -f $(TARGET) $(RCLINKS) $(RCPRIVLINKS)
rm -f *.o *~ *.core *.so
-include .depend
.depend:
$(CC) $(CPPFLAGS) -MM *.c > .depend
.PHONY: all clean install links