view netdiff/match/Makefile @ 148:64d4abf63e1e

netdiff: donl-pindiff factored out of donl-netmatch
author Mychaela Falconia <falcon@freecalypso.org>
date Sun, 15 Nov 2020 04:11:01 +0000
parents 5e91200bf609
children d1a507d34e77
line wrap: on
line source

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

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

all:	${PROGS}

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

donl-pindiff:	${PINDIFF_OBJS}
	${CC} ${CFLAGS} -o $@ ${PINDIFF_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}