Changeset 5154 for pjproject/trunk/build/rules.mak
- Timestamp:
- Aug 7, 2015 12:52:09 PM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
pjproject/trunk/build/rules.mak
r4786 r5154 58 58 # CFLAGS or CXXFLAGS (not both). But I just couldn't make if/ifeq to work. 59 59 # 60 DEPFLAGS = $($(APP)_CXXFLAGS) $($(APP)_CFLAGS) 60 #DEPFLAGS = $($(APP)_CXXFLAGS) $($(APP)_CFLAGS) 61 DEPCFLAGS = $($(APP)_CFLAGS) 62 DEPCXXFLAGS = $($(APP)_CXXFLAGS) 61 63 62 64 # Dependency file … … 77 79 @echo $(APP)_CXXFLAGS=$($(APP)_CXXFLAGS) 78 80 @echo $(APP)_LDFLAGS=$($(APP)_LDFLAGS) 79 @echo DEPFLAGS=$(DEPFLAGS)81 # @echo DEPFLAGS=$(DEPFLAGS) 80 82 @echo CC=$(CC) 81 83 @echo AR=$(AR) … … 217 219 if test -f $$F; then \ 218 220 echo "$(OBJDIR)/" | tr -d '\n' >> $(DEP_FILE); \ 219 if $(CC) -M $(DEPFLAGS) $$F | sed '/^#/d' >> $(DEP_FILE); then \ 221 if echo $$F | grep -q .cpp$$; then \ 222 dep="$(CC) -M $(DEPCXXFLAGS) $$F"; \ 223 else \ 224 dep="$(CC) -M $(DEPCFLAGS) $$F"; \ 225 fi; \ 226 if eval $$dep | sed '/^#/d' >> $(DEP_FILE); then \ 220 227 true; \ 221 228 else \
Note: See TracChangeset
for help on using the changeset viewer.