mirror of
ssh://git.janware.com/srv/git/janware/proj/jw-pkg
synced 2026-01-15 12:03:31 +01:00
rules.mk: Use gcc -M instead of X11 makedepend
This commit is contained in:
parent
4b606a767a
commit
9a92282f41
1 changed files with 4 additions and 1 deletions
|
|
@ -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
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue