Last change
on this file since 54 was 54, checked in by ertl-ishikawa, 11 years ago |
cfg+oil対応コンフィギュレータを追加
|
File size:
739 bytes
|
Line | |
---|
1 | -include ../Makefile.config
|
---|
2 |
|
---|
3 | PROJDIR = ..
|
---|
4 | WORKDIR = $(PROJDIR)/toppers
|
---|
5 |
|
---|
6 | CPPFLAGS := $(CPPFLAGS) -I$(BOOST_DIR) -I$(PROJDIR)
|
---|
7 | CXXFLAGS := $(CXXFLAGS) -O2 -g
|
---|
8 |
|
---|
9 | CXXFILES = \
|
---|
10 | builtin_function.cpp \
|
---|
11 | c_chlit_parser.cpp \
|
---|
12 | c_ident_parser.cpp \
|
---|
13 | c_int_parser.cpp \
|
---|
14 | c_keywords.cpp \
|
---|
15 | c_plus_plus_keywords.cpp \
|
---|
16 | c_strlit_parser.cpp \
|
---|
17 | cpp.cpp \
|
---|
18 | diagnostics.cpp \
|
---|
19 | gettext.cpp \
|
---|
20 | global.cpp \
|
---|
21 | io.cpp \
|
---|
22 | macro_processor.cpp \
|
---|
23 | mbchar_parser.cpp \
|
---|
24 | nm_symbol.cpp \
|
---|
25 | output_file.cpp \
|
---|
26 | s_record.cpp \
|
---|
27 | ucn_parser.cpp \
|
---|
28 |
|
---|
29 | OBJFILES := $(CXXFILES:%.cpp=%.o)
|
---|
30 |
|
---|
31 | all: libtoppers.a
|
---|
32 |
|
---|
33 | libtoppers.a: $(OBJFILES)
|
---|
34 | $(AR) rcs libtoppers.a $(OBJFILES)
|
---|
35 |
|
---|
36 | depend:
|
---|
37 | $(CXX) $(CPPFLAGS) -M $(CXXFILES) > Makefile.depend
|
---|
38 |
|
---|
39 | clean:
|
---|
40 | -rm -f *.o *.a
|
---|
41 |
|
---|
42 | -include Makefile.depend
|
---|
43 |
|
---|
Note:
See
TracBrowser
for help on using the repository browser.