|
a |
|
b/src/bincimapmime/Makefile |
|
|
1 |
include ../mk/sysconf
|
|
|
2 |
|
|
|
3 |
LIBS = libmime.a
|
|
|
4 |
all: $(LIBS)
|
|
|
5 |
|
|
|
6 |
SRCS = mime-getpart.cc mime-parsefull.cc mime-parseonlyheader.cc \
|
|
|
7 |
mime-printbody.cc mime-printdoc.cc mime-printheader.cc mime.cc \
|
|
|
8 |
convert.cc iodevice.cc iofactory.cc
|
|
|
9 |
|
|
|
10 |
OBJS = mime-getpart.o mime-parsefull.o mime-parseonlyheader.o \
|
|
|
11 |
mime-printbody.o mime-printdoc.o mime-printheader.o mime.o \
|
|
|
12 |
convert.o iodevice.o iofactory.o
|
|
|
13 |
|
|
|
14 |
libmime.a : $(OBJS)
|
|
|
15 |
ar ru libmime.a $(OBJS)
|
|
|
16 |
|
|
|
17 |
# $(CXX) $(CXXFLAGS) -c $<
|
|
|
18 |
.cc .o :
|
|
|
19 |
$(CXX) $(CXXFLAGS) -c $<
|
|
|
20 |
|
|
|
21 |
|
|
|
22 |
clean:
|
|
|
23 |
rm -f *.o $(LIBS)
|
|
|
24 |
|
|
|
25 |
alldeps:depend
|
|
|
26 |
depend:
|
|
|
27 |
$(CXX) $(CXXFLAGS) -M $(SRCS) > alldeps
|
|
|
28 |
include alldeps
|
|
|
29 |
|