view ueda/mclutils/Makefile @ 61:ff1d565d233c

pads2gpcb: handle dummy decals with no pins (found in the E-Sample PCB)
author Mychaela Falconia <falcon@ivan.Harhan.ORG>
date Sun, 31 Jan 2016 05:02:49 +0000
parents d098f8548b44
children 6e43956e740d
line wrap: on
line source

CC=	gcc
CFLAGS=	-O2
PROGS=	getfps mkbom shortbom
LIBUEDA=../libueda/libueda.a
BINDIR=	/usr/local/bin

all:	${PROGS}

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

install:
	install -c -o bin -g bin -m 755 getfps ${BINDIR}/ueda-getfps
	install -c -o bin -g bin -m 755 mkbom ${BINDIR}/ueda-mkbom
	install -c -o bin -g bin -m 755 shortbom ${BINDIR}/ueda-shortbom

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

getfps:	getfps.o
mkbom:	mkbom.o
shortbom: shortbom.o