FreeCalypso > hg > ueda-linux
view ueda/mclutils/Makefile @ 83:88cdef7e6b1b
BOM tallying code factored out of ueda-mkbom
author | Mychaela Falconia <falcon@freecalypso.org> |
---|---|
date | Thu, 23 Feb 2017 19:27:14 +0000 |
parents | 6e43956e740d |
children | 422385f10084 |
line wrap: on
line source
CC= gcc CFLAGS= -O2 PROGS= getfps mkbom shortbom LIBUEDA=../libueda/libueda.a BINDIR= /usr/local/bin all: ${PROGS} getfps: getfps.o ${LIBUEDA} ${CC} ${CFLAGS} -o $@ $@.o ${LIBUEDA} mkbom: mkbom.o bomtally.o seqrefdes.o ${LIBUEDA} ${CC} ${CFLAGS} -o $@ $@.o bomtally.o seqrefdes.o ${LIBUEDA} shortbom: shortbom.o ${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}