annotate f-demime/Makefile @ 3:7a6cd16689f5

f-demime/Makefile: add install
author Mychaela Falconia <falcon@freecalypso.org>
date Sat, 06 May 2023 06:41:20 +0000
parents 05651a1b8ba8
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
1
05651a1b8ba8 f-demime compiles
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
1 CC= gcc
05651a1b8ba8 f-demime compiles
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
2 CFLAGS= -O2
05651a1b8ba8 f-demime compiles
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
3 PROG= f-demime
05651a1b8ba8 f-demime compiles
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
4 OBJS= attach_out.o b2q_in.o b2q_out.o base64.o finish.o header.o header_end.o\
05651a1b8ba8 f-demime compiles
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
5 initconv.o main.o msgstate.o ptext_in.o ptext_out.o qpdec.o
05651a1b8ba8 f-demime compiles
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
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
05651a1b8ba8 f-demime compiles
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
8
05651a1b8ba8 f-demime compiles
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
9 all: ${PROG}
05651a1b8ba8 f-demime compiles
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
10
05651a1b8ba8 f-demime compiles
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
11 ${PROG}: ${OBJS}
05651a1b8ba8 f-demime compiles
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
12 ${CC} ${CFLAGS} -o $@ ${OBJS}
05651a1b8ba8 f-demime compiles
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
13
05651a1b8ba8 f-demime compiles
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
14 ${OBJS}: ${HDRS}
05651a1b8ba8 f-demime compiles
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
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
05651a1b8ba8 f-demime compiles
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
19 clean:
05651a1b8ba8 f-demime compiles
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
20 rm -f *.o ${PROG}