Parent: [b55e44] (diff)

Child: [77e0ef] (diff)

Download this file

Makefile    34 lines (24 with data), 727 Bytes

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