view ueda/mclutils/Makefile @ 43:4a50888d09ce

pads2gpcb: handle error cases when the default pad is defined, but failed
author Mychaela Falconia <falcon@ivan.Harhan.ORG>
date Sat, 30 Jan 2016 05:39:52 +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