view ueda/unet-utils/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 7c0fd80782c8
children
line wrap: on
line source

CC=	gcc
CFLAGS=	-O2
PROGS=	unet-destar unet-excise unet2pads unet2pcb unet2protel 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
unet-excise:	unet-excise.o
unet2pads:	unet2pads.o
unet2pcb:	unet2pcb.o
unet2protel:	unet2protel.o
unet2tedax:	unet2tedax.o