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?
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
10 CXXFLAGS = $(ICFLAGS) $(DEFINES) $(addprefix -I,$(INCLUDES)) $(USER_CFLAGS) $(EXTRA_CFLAGS) $(MODULE_CFLAGS) $(USER_CXXFLAGS) $(EXTRA_CXXFLAGS) $(MODULE_CXXFLAGS)
11 CXX_OUTPUT_OPTION = $< -o $@
12 DO_CXX_COMPILE=$(DODEP) $(CXX) -c $(CXXFLAGS) $(CXX_OUTPUT_OPTION)
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)
22 SOURCE_FILES+=$(YY_FILES) $(CC_FILES) $(INL_FILES) $(TCC_FILES) $(HH_FILES) $(LL_FILES)
23 OBJECT_FILES+=$(YY_FILES:.yy=.o) $(CC_FILES:.cc=.o) $(LL_FILES:.ll=.o)
25 TAGS_FILES += $(TCC_FILES) $(HH_FILES) $(INL_FILES) $(CC_FILES)