Last change
on this file since 54 was 54, checked in by ertl-ishikawa, 11 years ago |
cfg+oil対応コンフィギュレータを追加
|
File size:
520 bytes
|
Rev | Line | |
---|
[54] | 1 | -include ../Makefile.config
|
---|
| 2 |
|
---|
| 3 | PROJDIR = ../..
|
---|
| 4 | WORKDIR = $(PROJDIR)/toppers/oil
|
---|
| 5 |
|
---|
| 6 | CPPFLAGS := $(CPPFLAGS) -I$(BOOST_DIR) -I$(PROJDIR)
|
---|
| 7 | CXXFLAGS := $(CXXFLAGS) -O2 -g
|
---|
| 8 |
|
---|
| 9 | CXXFILES = \
|
---|
| 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 |
|
---|
| 18 | OBJFILES := $(CXXFILES:%.cpp=%.o)
|
---|
| 19 |
|
---|
| 20 | all: liboil.a
|
---|
| 21 |
|
---|
| 22 | liboil.a: $(OBJFILES)
|
---|
| 23 | $(AR) rcs liboil.a $(OBJFILES)
|
---|
| 24 |
|
---|
| 25 | depend:
|
---|
| 26 | $(CXX) $(CPPFLAGS) -M $(CXXFILES) > Makefile.depend
|
---|
| 27 |
|
---|
| 28 | clean:
|
---|
| 29 | -rm -f *.o *.a
|
---|
| 30 |
|
---|
| 31 | -include Makefile.depend
|
---|
| 32 |
|
---|
Note:
See
TracBrowser
for help on using the repository browser.