source: cfg_itronx+oil_gcc/toppers/oil/Makefile

Last change on this file was 54, checked in by ertl-ishikawa, 11 years ago

cfg+oil対応コンフィギュレータを追加

File size: 520 bytes
Line 
1-include ../Makefile.config
2
3PROJDIR = ../..
4WORKDIR = $(PROJDIR)/toppers/oil
5
6CPPFLAGS := $(CPPFLAGS) -I$(BOOST_DIR) -I$(PROJDIR)
7CXXFLAGS := $(CXXFLAGS) -O2 -g
8
9CXXFILES = \
10 cfg1_out.cpp \
11 checker.cpp \
12 configuration_manager.cpp \
13 factory.cpp \
14 oil_object.cpp \
15 oil_parse.cpp \
16 preprocess.cpp
17
18OBJFILES := $(CXXFILES:%.cpp=%.o)
19
20all: liboil.a
21
22liboil.a: $(OBJFILES)
23 $(AR) rcs liboil.a $(OBJFILES)
24
25depend:
26 $(CXX) $(CPPFLAGS) -M $(CXXFILES) > Makefile.depend
27
28clean:
29 -rm -f *.o *.a
30
31-include Makefile.depend
32
Note: See TracBrowser for help on using the repository browser.