FreeCalypso > hg > ueda-linux
diff 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 diff
--- a/netdiff/match/Makefile Sun Sep 20 02:40:23 2020 +0000 +++ b/netdiff/match/Makefile Sun Nov 15 01:17:10 2020 +0000 @@ -1,16 +1,21 @@ CC= gcc CFLAGS= -O2 -PROG= donl-netmatch -OBJS= main.o rdpass.o +PROGS= donl-netmatch donl-pinreport BINDIR= /usr/local/bin -all: ${PROG} +NETMATCH_OBJS= main.o rdpass.o +PINREPORT_OBJS= main2.o rdpass.o + +all: ${PROGS} -${PROG}: ${OBJS} - ${CC} ${CFLAGS} -o $@ ${OBJS} +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 ${PROG} ${BINDIR} + install -c -o bin -g bin -m 755 ${PROGS} ${BINDIR} clean: - rm -f *.[ao] a.out core errs ${PROG} + rm -f *.[ao] a.out core errs ${PROGS}