view ueda/mclutils/Makefile @ 19:1d4c693b8f35

unet-bind: sverp netlist reading implemented
author Space Falcon <falcon@ivan.Harhan.ORG>
date Sun, 02 Aug 2015 03:09:15 +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