view ueda/unet-utils/Makefile @ 140:d3eb3790386d

netdiff: donl-netmatch put together
author Mychaela Falconia <falcon@freecalypso.org>
date Mon, 07 Sep 2020 04:57:37 +0000
parents 25634b3977a9
children 7bdce91da1a5
line wrap: on
line source

CC=	gcc
CFLAGS=	-O2
PROGS=	unet-destar unet2pads unet2pcb unet2tedax
LIBUNET=../libunet/libunet.a
BINDIR=	/usr/local/bin

all:	${PROGS}

${PROGS}:	${LIBUNET}
	${CC} ${CFLAGS} -o $@ $@.o ${LIBUNET}

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

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

unet-destar:	unet-destar.o
unet2pads:	unet2pads.o
unet2pcb:	unet2pcb.o
unet2tedax:	unet2tedax.o