]> git.donarmstrong.com Git - lilypond.git/blob - stepmake/stepmake/c++-vars.make
* gcc-3.4 snapshot: 3.4.0 20040215 (prerelease) compile fixes, and
[lilypond.git] / stepmake / stepmake / c++-vars.make
1
2 include $(stepdir)/compile-vars.make
3
4 # added two warnings that are treated by cygwin32's gcc 2.7.2 as errors.
5 # huh, but still, no warnings even provoced with linux's gcc 2.7.2.1?
6
7 # -pipe makes it go faster, but is not supported on all platforms.
8 # how much faster -- would this warrant configure check?
9 # EXTRA_CXXFLAGS= -Wall -Winline -W -Wmissing-prototypes -Wmissing-declarations -Wconversion
10 EXTRA_CXXFLAGS= -W -Wall -Wconversion
11
12 ALL_CXXFLAGS = $(CXXFLAGS) $(ICFLAGS) $(DEFINES) $(addprefix -I,$(INCLUDES)) $(USER_CFLAGS) $(EXTRA_CFLAGS) $(MODULE_CFLAGS) $($(PACKAGE)_CFLAGS) $($(PACKAGE)_CXXFLAGS) $(USER_CXXFLAGS) $(EXTRA_CXXFLAGS) $(MODULE_CXXFLAGS)
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+= $(CC_FILES) $(YY_FILES) $(INL_FILES) $(TCC_FILES) $(HH_FILES) $(LL_FILES)
23
24 ALL_CC_SOURCES += $(HH_FILES) $(INL_FILES) $(CC_FILES) $(YY_FILES) $(LL_FILES) 
25
26 O_FILES+=$(addprefix $(outdir)/, $(CC_FILES:.cc=.o) $(LL_FILES:.ll=.o) $(YY_FILES:.yy=.o))
27
28 TAGS_FILES += $(TCC_FILES) $(HH_FILES) $(INL_FILES) $(CC_FILES) $(YY_FILES) $(LL_FILES)
29