Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(692)

Side by Side Diff: stepmake/stepmake/c++-vars.make

Issue 347770043: sort input files
Patch Set: Created 5 years, 10 months ago
Left:
Right:
Use n/p to move between diff chunks; N/P to move between comments. Please Sign in to add in-line comments.
Jump to:
View unified diff | Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 1
2 include $(stepdir)/compile-vars.make 2 include $(stepdir)/compile-vars.make
3 3
4 EXTRA_CXXFLAGS = -W -Wall -Wconversion 4 EXTRA_CXXFLAGS = -W -Wall -Wconversion
5 #ifeq ($(MY_PATCH_LEVEL),) 5 #ifeq ($(MY_PATCH_LEVEL),)
6 #EXTRA_CXXFLAGS += -Werror 6 #EXTRA_CXXFLAGS += -Werror
7 #endif 7 #endif
8 8
9 ALL_CXXPPFLAGS = $(CPPFLAGS) $(CONFIG_CPPFLAGS) $(DEFINES) $(INCLUDES:%=-I%) 9 ALL_CXXPPFLAGS = $(CPPFLAGS) $(CONFIG_CPPFLAGS) $(DEFINES) $(INCLUDES:%=-I%)
10 ALL_CXXFLAGS = $(CXXFLAGS) $(ALL_CXXPPFLAGS) $($(PACKAGE)_CXXFLAGS) $(CONFIG_CXX FLAGS) $(MODULE_CXXFLAGS) $(EXTRA_CXXFLAGS) 10 ALL_CXXFLAGS = $(CXXFLAGS) $(ALL_CXXPPFLAGS) $($(PACKAGE)_CXXFLAGS) $(CONFIG_CXX FLAGS) $(MODULE_CXXFLAGS) $(EXTRA_CXXFLAGS)
11 11
12 TCC_FILES := $(call src-wildcard,*.tcc) 12 TCC_FILES := $(call src-wildcard,*.tcc)
13 HH_FILES := $(call src-wildcard,*.hh) 13 HH_FILES := $(call src-wildcard,*.hh)
14 CC_FILES := $(call src-wildcard,*.cc) 14 CC_FILES := $(sort $(call src-wildcard,*.cc))
dak 2018/05/18 13:32:26 src-wildcard actually uses the wildcard function o
Dan Eble 2018/05/18 21:15:39 This seems fragile. If the order of arguments to
15 INL_FILES := $(call src-wildcard,*.icc) 15 INL_FILES := $(call src-wildcard,*.icc)
16 YY_FILES := $(call src-wildcard,*.yy) 16 YY_FILES := $(call src-wildcard,*.yy)
17 LL_FILES := $(call src-wildcard,*.ll) 17 LL_FILES := $(call src-wildcard,*.ll)
18 18
19 SOURCE_FILES+= $(CC_FILES) $(YY_FILES) $(INL_FILES) $(TCC_FILES) $(HH_FILES) $(L L_FILES) 19 SOURCE_FILES+= $(CC_FILES) $(YY_FILES) $(INL_FILES) $(TCC_FILES) $(HH_FILES) $(L L_FILES)
20 20
21 ALL_CC_SOURCES += $(HH_FILES) $(INL_FILES) $(CC_FILES) $(YY_FILES) $(LL_FILES) 21 ALL_CC_SOURCES += $(HH_FILES) $(INL_FILES) $(CC_FILES) $(YY_FILES) $(LL_FILES)
22 22
23 O_FILES+=$(addprefix $(outdir)/, $(CC_FILES:.cc=.o) $(LL_FILES:.ll=.o) $(YY_FILE S:.yy=.o)) 23 O_FILES+=$(addprefix $(outdir)/, $(CC_FILES:.cc=.o) $(LL_FILES:.ll=.o) $(YY_FILE S:.yy=.o))
24 24
25 TAGS_SOURCES += $(TCC_FILES) $(INL_FILES) $(CC_FILES) $(YY_FILES) $(LL_FILES) 25 TAGS_SOURCES += $(TCC_FILES) $(INL_FILES) $(CC_FILES) $(YY_FILES) $(LL_FILES)
26 TAGS_HEADERS += $(HH_FILES) $(INL_FILES) 26 TAGS_HEADERS += $(HH_FILES) $(INL_FILES)
27 27
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b