tmakefile - scribo - Email-based phlog generator
(HTM) git clone git://git.z3bra.org/scribo.git
(DIR) Log
(DIR) Files
(DIR) Refs
(DIR) README
(DIR) LICENSE
---
tmakefile (515B)
---
1 include config.mk
2
3 .SUFFIXES: .h .def.h
4
5 scribo: scribo.o base64.o qp.o rfc5322.o strlcpy.o strlcat.o
6 ${CC} ${LDFLAGS} -o $@ scribo.o base64.o qp.o rfc5322.o strlcpy.o strlcat.o
7
8 scribo.o: config.h
9
10 .def.h.h:
11 cp $< $@
12
13 install: scribo scribo.1
14 mkdir -p ${DESTDIR}${PREFIX}/bin
15 mkdir -p ${DESTDIR}${MANDIR}/man1
16 cp scribo ${DESTDIR}${PREFIX}/bin/scribo
17 cp scribo.1 ${DESTDIR}${MANDIR}/man1/scribo.1
18
19 uninstall:
20 rm ${DESTDIR}${PREFIX}/bin/scribo
21 rm ${DESTDIR}${MANDIR}/man1/scribo.1
22
23 clean:
24 rm -f scribo *.o