rules.mk: Use gcc -M instead of X11 makedepend

This commit is contained in:
Jan Lindemann 2006-03-03 16:20:20 +00:00 committed by Jan Lindemann
commit 9a92282f41

View file

@ -184,8 +184,11 @@ else
install_profile_path: $(INSTALLED_PROFILE_PATH_SCRIPT)
endif
#depend.mk: $(SRC_ALL_CPP)
# > $@ && makedepend -f depend.mk -- $(CPPFLAGS) $(DEPEND_CPPFLAGS) -- $(SRC_ALL_CPP) 2>&1 | sed '/non-portable whitespace/ d'
depend.mk: $(SRC_ALL_CPP)
> $@ && makedepend -f depend.mk -- $(CPPFLAGS) $(DEPEND_CPPFLAGS) -- $(SRC_ALL_CPP) 2>&1 | sed '/non-portable whitespace/ d'
> $@ && gcc -M $(CPPFLAGS) $(DEPEND_CPPFLAGS) $(filter-out %.h,$(SRC_ALL_CPP)) -o $@
depend: depend.mk