view netdiff/match/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 d3eb3790386d
children 64d4abf63e1e
line wrap: on
line source

CC=	gcc
CFLAGS=	-O2
PROGS=	donl-netmatch donl-pinreport
BINDIR=	/usr/local/bin

NETMATCH_OBJS=	main.o rdpass.o
PINREPORT_OBJS=	main2.o rdpass.o

all:	${PROGS}

donl-netmatch:	${NETMATCH_OBJS}
	${CC} ${CFLAGS} -o $@ ${NETMATCH_OBJS}

donl-pinreport:	${PINREPORT_OBJS}
	${CC} ${CFLAGS} -o $@ ${PINREPORT_OBJS}

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

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