diff ueda/mclutils/Makefile @ 84:422385f10084

ueda-csvbom utility written
author Mychaela Falconia <falcon@freecalypso.org>
date Thu, 23 Feb 2017 19:55:51 +0000
parents 88cdef7e6b1b
children 125fc4ef7eb0
line wrap: on
line diff
--- a/ueda/mclutils/Makefile	Thu Feb 23 19:27:14 2017 +0000
+++ b/ueda/mclutils/Makefile	Thu Feb 23 19:55:51 2017 +0000
@@ -1,11 +1,14 @@
 CC=	gcc
 CFLAGS=	-O2
-PROGS=	getfps mkbom shortbom
+PROGS=	csvbom getfps mkbom shortbom
 LIBUEDA=../libueda/libueda.a
 BINDIR=	/usr/local/bin
 
 all:	${PROGS}
 
+csvbom:	csvbom.o bomtally.o seqrefdes.o ${LIBUEDA}
+	${CC} ${CFLAGS} -o $@ $@.o bomtally.o seqrefdes.o ${LIBUEDA}
+
 getfps:	getfps.o ${LIBUEDA}
 	${CC} ${CFLAGS} -o $@ $@.o ${LIBUEDA}
 
@@ -16,6 +19,7 @@
 	${CC} ${CFLAGS} -o $@ $@.o ${LIBUEDA}
 
 install:
+	install -c -o bin -g bin -m 755 csvbom ${BINDIR}/ueda-csvbom
 	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