view ueda/unet-utils/Makefile @ 47:8fa304e2b7e1

pads2gpcb: parsing of -w options implemented
author Mychaela Falconia <falcon@ivan.Harhan.ORG>
date Sat, 30 Jan 2016 08:23:35 +0000
parents 47b5b8310cac
children 25634b3977a9
line wrap: on
line source

CC=	gcc
CFLAGS=	-O2
PROGS=	unet-destar unet2pads unet2pcb
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