view 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
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}