comparison 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
comparison
equal deleted inserted replaced
130:c165882efdf1 131:125fc4ef7eb0
1 CC= gcc 1 CC= gcc
2 CFLAGS= -O2 2 CFLAGS= -O2
3 PROGS= csvbom getfps mkbom shortbom 3 PROGS= csvattr csvbom getfps mkbom shortbom
4 LIBUEDA=../libueda/libueda.a 4 LIBUEDA=../libueda/libueda.a
5 BINDIR= /usr/local/bin 5 BINDIR= /usr/local/bin
6 6
7 all: ${PROGS} 7 all: ${PROGS}
8
9 csvattr: csvattr.o ${LIBUEDA}
10 ${CC} ${CFLAGS} -o $@ $@.o ${LIBUEDA}
8 11
9 csvbom: csvbom.o bomtally.o seqrefdes.o ${LIBUEDA} 12 csvbom: csvbom.o bomtally.o seqrefdes.o ${LIBUEDA}
10 ${CC} ${CFLAGS} -o $@ $@.o bomtally.o seqrefdes.o ${LIBUEDA} 13 ${CC} ${CFLAGS} -o $@ $@.o bomtally.o seqrefdes.o ${LIBUEDA}
11 14
12 getfps: getfps.o ${LIBUEDA} 15 getfps: getfps.o ${LIBUEDA}
17 20
18 shortbom: shortbom.o ${LIBUEDA} 21 shortbom: shortbom.o ${LIBUEDA}
19 ${CC} ${CFLAGS} -o $@ $@.o ${LIBUEDA} 22 ${CC} ${CFLAGS} -o $@ $@.o ${LIBUEDA}
20 23
21 install: 24 install:
25 install -c -o bin -g bin -m 755 csvattr ${BINDIR}/ueda-csvattr
22 install -c -o bin -g bin -m 755 csvbom ${BINDIR}/ueda-csvbom 26 install -c -o bin -g bin -m 755 csvbom ${BINDIR}/ueda-csvbom
23 install -c -o bin -g bin -m 755 getfps ${BINDIR}/ueda-getfps 27 install -c -o bin -g bin -m 755 getfps ${BINDIR}/ueda-getfps
24 install -c -o bin -g bin -m 755 mkbom ${BINDIR}/ueda-mkbom 28 install -c -o bin -g bin -m 755 mkbom ${BINDIR}/ueda-mkbom
25 install -c -o bin -g bin -m 755 shortbom ${BINDIR}/ueda-shortbom 29 install -c -o bin -g bin -m 755 shortbom ${BINDIR}/ueda-shortbom
26 30