view netdiff/renpart/Makefile @ 141:fddb020e9b68

netdiff/Makefile added
author Mychaela Falconia <falcon@freecalypso.org>
date Mon, 07 Sep 2020 05:13:35 +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}