comparison 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
comparison
equal deleted inserted replaced
2:1857d0d5a7bd 3:7a6cd16689f5
2 CFLAGS= -O2 2 CFLAGS= -O2
3 PROG= f-demime 3 PROG= f-demime
4 OBJS= attach_out.o b2q_in.o b2q_out.o base64.o finish.o header.o header_end.o\ 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 5 initconv.o main.o msgstate.o ptext_in.o ptext_out.o qpdec.o
6 HDRS= defs.h 6 HDRS= defs.h
7 INSTBIN=/usr/local/bin
7 8
8 all: ${PROG} 9 all: ${PROG}
9 10
10 ${PROG}: ${OBJS} 11 ${PROG}: ${OBJS}
11 ${CC} ${CFLAGS} -o $@ ${OBJS} 12 ${CC} ${CFLAGS} -o $@ ${OBJS}
12 13
13 ${OBJS}: ${HDRS} 14 ${OBJS}: ${HDRS}
14 15
16 install:
17 install -c -o bin -g bin -m 755 ${PROG} ${INSTBIN}
18
15 clean: 19 clean:
16 rm -f *.o ${PROG} 20 rm -f *.o ${PROG}