]> git.donarmstrong.com Git - lilypond.git/blob - stepmake/stepmake/c++-vars.make
d4b8c470d997660bc94f75de2509de8915abfcd2
[lilypond.git] / stepmake / stepmake / c++-vars.make
1
2 # added two warnings that are treated by cygwin32's gcc 2.7.2 as errors.
3 # huh, but still, no warnings even provoced with linux's gcc 2.7.2.1?
4
5 # -pipe makes it go faster, but is not supported on all platforms. 
6 # EXTRA_CXXFLAGS= -Wall -Winline -W -Wmissing-prototypes -Wmissing-declarations -Wconversion
7 EXTRA_CXXFLAGS= -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wconversion
8
9
10  CXXFLAGS = $(ICFLAGS) $(DEFINES) $(addprefix -I,$(INCLUDES)) $(USER_CFLAGS) $(EXTRA_CFLAGS) $(MODULE_CFLAGS) $($(PACKAGE)_CFLAGS) $($(PACKAGE)_CXXFLAGS) $(USER_CXXFLAGS) $(EXTRA_CXXFLAGS) $(MODULE_CXXFLAGS)
11 CXX_OUTPUT_OPTION = $< -o $@
12 DO_CXX_COMPILE=$(DODEP) $(CXX) -c $(CXXFLAGS) $(CXX_OUTPUT_OPTION)
13
14 # template files:
15 TCC_FILES := $(wildcard *.tcc)
16 HH_FILES := $(wildcard *.hh)
17 CC_FILES := $(wildcard *.cc)
18 INL_FILES := $(wildcard *.icc)
19 YY_FILES := $(wildcard *.yy)
20 LL_FILES := $(wildcard *.ll)
21
22 SOURCE_FILES+=$(YY_FILES) $(CC_FILES) $(INL_FILES) $(TCC_FILES) $(HH_FILES) $(LL_FILES)
23 O_FILES+=$(addprefix $(outdir)/, $(YY_FILES:.yy=.o) $(CC_FILES:.cc=.o) $(LL_FILES:.ll=.o))
24
25 TAGS_FILES += $(TCC_FILES) $(HH_FILES) $(INL_FILES) $(CC_FILES)
26
27 # hmm
28 configheader=$(outdir)/config.hh