FreeCalypso > hg > falcon-mail-tools
annotate f-demime/Makefile @ 6:cd2dcf6eed67
add top Makefile
author | Mychaela Falconia <falcon@freecalypso.org> |
---|---|
date | Sat, 06 May 2023 15:24:38 +0000 |
parents | 7a6cd16689f5 |
children |
rev | line source |
---|---|
1 | 1 CC= gcc |
2 CFLAGS= -O2 | |
3 PROG= f-demime | |
4 OBJS= attach_out.o b2q_in.o b2q_out.o base64.o finish.o header.o header_end.o\ | |
5 initconv.o main.o msgstate.o ptext_in.o ptext_out.o qpdec.o | |
6 HDRS= defs.h | |
3
7a6cd16689f5
f-demime/Makefile: add install
Mychaela Falconia <falcon@freecalypso.org>
parents:
1
diff
changeset
|
7 INSTBIN=/usr/local/bin |
1 | 8 |
9 all: ${PROG} | |
10 | |
11 ${PROG}: ${OBJS} | |
12 ${CC} ${CFLAGS} -o $@ ${OBJS} | |
13 | |
14 ${OBJS}: ${HDRS} | |
15 | |
3
7a6cd16689f5
f-demime/Makefile: add install
Mychaela Falconia <falcon@freecalypso.org>
parents:
1
diff
changeset
|
16 install: |
7a6cd16689f5
f-demime/Makefile: add install
Mychaela Falconia <falcon@freecalypso.org>
parents:
1
diff
changeset
|
17 install -c -o bin -g bin -m 755 ${PROG} ${INSTBIN} |
7a6cd16689f5
f-demime/Makefile: add install
Mychaela Falconia <falcon@freecalypso.org>
parents:
1
diff
changeset
|
18 |
1 | 19 clean: |
20 rm -f *.o ${PROG} |