diff ueda/mclutils/Makefile @ 131:125fc4ef7eb0

ueda-csvattr program written, compiles
author Mychaela Falconia <falcon@freecalypso.org>
date Mon, 31 Aug 2020 00:01:59 +0000
parents 422385f10084
children
line wrap: on
line diff
--- a/ueda/mclutils/Makefile	Thu Jul 30 19:56:24 2020 +0000
+++ b/ueda/mclutils/Makefile	Mon Aug 31 00:01:59 2020 +0000
@@ -1,11 +1,14 @@
 CC=	gcc
 CFLAGS=	-O2
-PROGS=	csvbom getfps mkbom shortbom
+PROGS=	csvattr csvbom getfps mkbom shortbom
 LIBUEDA=../libueda/libueda.a
 BINDIR=	/usr/local/bin
 
 all:	${PROGS}
 
+csvattr:	csvattr.o ${LIBUEDA}
+	${CC} ${CFLAGS} -o $@ $@.o ${LIBUEDA}
+
 csvbom:	csvbom.o bomtally.o seqrefdes.o ${LIBUEDA}
 	${CC} ${CFLAGS} -o $@ $@.o bomtally.o seqrefdes.o ${LIBUEDA}
 
@@ -19,6 +22,7 @@
 	${CC} ${CFLAGS} -o $@ $@.o ${LIBUEDA}
 
 install:
+	install -c -o bin -g bin -m 755 csvattr ${BINDIR}/ueda-csvattr
 	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