fix Makefile to use new style depend
This commit is contained in:
parent
c271850269
commit
7d0341bec9
@ -714,10 +714,10 @@ TAGS: $(C_SOURCES) $(PL_SOURCES) $(HEADERS)
|
|||||||
|
|
||||||
depend: $(HEADERS) $(C_SOURCES)
|
depend: $(HEADERS) $(C_SOURCES)
|
||||||
-@if test "$(GCC)" = yes; then\
|
-@if test "$(GCC)" = yes; then\
|
||||||
$(CC) -MM $(CFLAGS) -I$(srcdir)/include $(C_SOURCES) > .depend;\
|
$(CC) -MM $(CFLAGS) -I$(srcdir)/include $(C_SOURCES) > depend;\
|
||||||
else\
|
else\
|
||||||
makedepend -f - -- $(CFLAGS) -I$(srcdir)/include -- $(C_SOURCES) |\
|
makedepend -f - -- $(CFLAGS) -I$(srcdir)/include -- $(C_SOURCES) |\
|
||||||
sed 's|.*/\([^:]*\):|\1:|' > .depend ;\
|
sed 's|.*/\([^:]*\):|\1:|' > depend ;\
|
||||||
fi
|
fi
|
||||||
|
|
||||||
clean: clean_docs
|
clean: clean_docs
|
||||||
@ -823,4 +823,4 @@ installcheck:
|
|||||||
|
|
||||||
# DO NOT DELETE THIS LINE -- make depend depends on it.
|
# DO NOT DELETE THIS LINE -- make depend depends on it.
|
||||||
|
|
||||||
include .depend
|
include depend
|
||||||
|
Reference in New Issue
Block a user