OSDN Git Service

マルチプロジェクト型にレポジトリを変更するために移動した
[toppersasp4lpc/asp.git] / asp / cfg / toppers / itronx / Makefile
1 -include ../Makefile.config
2
3 PROJDIR = ../..
4 WORKDIR = $(PROJDIR)/toppers/itronx
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         component.cpp \
13         factory.cpp \
14         preprocess.cpp \
15         static_api.cpp
16
17 OBJFILES := $(CXXFILES:%.cpp=%.o)
18
19 all: libitronx.a
20
21 libitronx.a: $(OBJFILES)
22         $(AR) rcs libitronx.a $(OBJFILES)
23
24 depend:
25         $(CXX) $(CPPFLAGS) -M $(CXXFILES) > Makefile.depend
26
27 clean:
28         -rm -f *.o *.a
29
30 -include Makefile.depend
31