mirror of https://github.com/deadw00d/AROS.git
Generate dependency files for *.cpp files, use altered cflags to avoid cxx compiler warnings in mkdepend_q.
git-svn-id: https://svn.aros.org/svn/aros/trunk/AROS@45900 fb15a70f-31f2-0310-bbcc-cdcc74a49acc
This commit is contained in:
parent
a4295bff55
commit
aa80ebb948
|
@ -392,9 +392,9 @@ $(TMP_TARGETBASE).o : %(basename).cpp
|
|||
|
||||
ifeq (%(dflags),)
|
||||
ifeq (%(nix),yes)
|
||||
$(TMP_TARGETBASE).d : TMP_DFLAGS:=-nix %(cflags)
|
||||
$(TMP_TARGETBASE).d : TMP_DFLAGS:=-nix $(TMP_CXXFLAGS)
|
||||
else
|
||||
$(TMP_TARGETBASE).d : TMP_DFLAGS:=%(cflags)
|
||||
$(TMP_TARGETBASE).d : TMP_DFLAGS:=$(TMP_CXXFLAGS)
|
||||
endif
|
||||
else
|
||||
ifeq (%(nix),yes)
|
||||
|
@ -561,7 +561,7 @@ $(TMP_TARGETS) : $(TMP_WILDCARD).o : %.cpp
|
|||
%compile_q cmd=$(CMD) iquote=$(TMP_IQUOTE) iquote_end=$(TMP_IQUOTE_END)
|
||||
|
||||
ifeq (%(dflags),)
|
||||
$(TMP_DTARGETS) : DFLAGS:=%(cflags)
|
||||
$(TMP_DTARGETS) : DFLAGS:=$(TMP_CXXFLAGS)
|
||||
else
|
||||
$(TMP_DTARGETS) : DFLAGS:=%(dflags)
|
||||
endif
|
||||
|
|
|
@ -21,6 +21,9 @@ while [ $# != 0 ]; do
|
|||
*.cc)
|
||||
files="$files '$1'"
|
||||
;;
|
||||
*.cpp)
|
||||
files="$files '$1'"
|
||||
;;
|
||||
*.m)
|
||||
files="$files '$1'"
|
||||
;;
|
||||
|
|
Loading…
Reference in New Issue