view 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
line wrap: on
line source

CC=	gcc
CFLAGS=	-O2
PROG=	f-demime
OBJS=	attach_out.o b2q_in.o b2q_out.o base64.o finish.o header.o header_end.o\
	initconv.o main.o msgstate.o ptext_in.o ptext_out.o qpdec.o
HDRS=	defs.h
INSTBIN=/usr/local/bin

all:	${PROG}

${PROG}: ${OBJS}
	${CC} ${CFLAGS} -o $@ ${OBJS}

${OBJS}: ${HDRS}

install:
	install -c -o bin -g bin -m 755 ${PROG} ${INSTBIN}

clean:
	rm -f *.o ${PROG}