view netdiff/match/Makefile @ 154:2328205328a9 default tip

m4-fp: WR-FPC 1mm pitch FFC/FPC connectors
author Mychaela Falconia <falcon@freecalypso.org>
date Tue, 25 Oct 2022 07:36:09 +0000
parents d1a507d34e77
children
line wrap: on
line source

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

NETMATCH_OBJS=	main.o rdpass.o
NETMATCH2_OBJS=	match.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-netmatch2:	${NETMATCH2_OBJS}
	${CC} ${CFLAGS} -o $@ ${NETMATCH2_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}