get rid of depend

This commit is contained in:
Vitor Santos Costa
2009-04-22 21:22:04 -05:00
parent 7d0341bec9
commit 88289b1fe3
6 changed files with 7 additions and 16 deletions

View File

@@ -118,10 +118,8 @@ clean:
depend: $(HEADERS) $(C_SOURCES)
-@if test "$(GCC)" = yes; then\
$(CC) -MM -MG $(CFLAGS) -I$(srcdir) -I$(srcdir)/../../include -I$(srcdir)/../../H $(C_SOURCES) > depend;\
$(CC) -MM -MG $(CFLAGS) -I$(srcdir) -I$(srcdir)/../../include -I$(srcdir)/../../H $(C_SOURCES) >> Makefile;\
else\
makedepend -f - -- $(CFLAGS) -I$(srcdir)/../../H -I$(srcdir)/../../include -- $(C_SOURCES) |\
sed 's|.*/\([^:]*\):|\1:|' > .depend ;\
sed 's|.*/\([^:]*\):|\1:|' >> Makefile ;\
fi
include depend

View File

@@ -1 +0,0 @@
# File to be used by "make depend"