comparison 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
comparison
equal deleted inserted replaced
83:88cdef7e6b1b 84:422385f10084
1 CC= gcc 1 CC= gcc
2 CFLAGS= -O2 2 CFLAGS= -O2
3 PROGS= getfps mkbom shortbom 3 PROGS= 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 csvbom: csvbom.o bomtally.o seqrefdes.o ${LIBUEDA}
10 ${CC} ${CFLAGS} -o $@ $@.o bomtally.o seqrefdes.o ${LIBUEDA}
8 11
9 getfps: getfps.o ${LIBUEDA} 12 getfps: getfps.o ${LIBUEDA}
10 ${CC} ${CFLAGS} -o $@ $@.o ${LIBUEDA} 13 ${CC} ${CFLAGS} -o $@ $@.o ${LIBUEDA}
11 14
12 mkbom: mkbom.o bomtally.o seqrefdes.o ${LIBUEDA} 15 mkbom: mkbom.o bomtally.o seqrefdes.o ${LIBUEDA}
14 17
15 shortbom: shortbom.o ${LIBUEDA} 18 shortbom: shortbom.o ${LIBUEDA}
16 ${CC} ${CFLAGS} -o $@ $@.o ${LIBUEDA} 19 ${CC} ${CFLAGS} -o $@ $@.o ${LIBUEDA}
17 20
18 install: 21 install:
22 install -c -o bin -g bin -m 755 csvbom ${BINDIR}/ueda-csvbom
19 install -c -o bin -g bin -m 755 getfps ${BINDIR}/ueda-getfps 23 install -c -o bin -g bin -m 755 getfps ${BINDIR}/ueda-getfps
20 install -c -o bin -g bin -m 755 mkbom ${BINDIR}/ueda-mkbom 24 install -c -o bin -g bin -m 755 mkbom ${BINDIR}/ueda-mkbom
21 install -c -o bin -g bin -m 755 shortbom ${BINDIR}/ueda-shortbom 25 install -c -o bin -g bin -m 755 shortbom ${BINDIR}/ueda-shortbom
22 26
23 clean: 27 clean: