comparison 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
comparison
equal deleted inserted replaced
144:ffadaa339478 145:5e91200bf609
1 CC= gcc 1 CC= gcc
2 CFLAGS= -O2 2 CFLAGS= -O2
3 PROG= donl-netmatch 3 PROGS= donl-netmatch donl-pinreport
4 OBJS= main.o rdpass.o
5 BINDIR= /usr/local/bin 4 BINDIR= /usr/local/bin
6 5
7 all: ${PROG} 6 NETMATCH_OBJS= main.o rdpass.o
7 PINREPORT_OBJS= main2.o rdpass.o
8 8
9 ${PROG}: ${OBJS} 9 all: ${PROGS}
10 ${CC} ${CFLAGS} -o $@ ${OBJS} 10
11 donl-netmatch: ${NETMATCH_OBJS}
12 ${CC} ${CFLAGS} -o $@ ${NETMATCH_OBJS}
13
14 donl-pinreport: ${PINREPORT_OBJS}
15 ${CC} ${CFLAGS} -o $@ ${PINREPORT_OBJS}
11 16
12 install: 17 install:
13 install -c -o bin -g bin -m 755 ${PROG} ${BINDIR} 18 install -c -o bin -g bin -m 755 ${PROGS} ${BINDIR}
14 19
15 clean: 20 clean:
16 rm -f *.[ao] a.out core errs ${PROG} 21 rm -f *.[ao] a.out core errs ${PROGS}