view netdiff/renpart/Makefile @ 145:5e91200bf609

netdiff: donl-pinreport utility written, compiles
author Mychaela Falconia <falcon@freecalypso.org>
date Sun, 15 Nov 2020 01:17:10 +0000
parents 77acb816727b
children
line wrap: on
line source

CC=	gcc
CFLAGS=	-O2
PROG=	donl-rename-parts
OBJS=	main.o mainproc.o rename.o
BINDIR=	/usr/local/bin

all:	${PROG}

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

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

clean:
	rm -f *.[ao] a.out core errs ${PROG}