FreeCalypso > hg > ueda-linux
annotate 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 |
rev | line source |
---|---|
3
d098f8548b44
ueda/mclutils Linuxified
Space Falcon <falcon@ivan.Harhan.ORG>
parents:
0
diff
changeset
|
1 CC= gcc |
d098f8548b44
ueda/mclutils Linuxified
Space Falcon <falcon@ivan.Harhan.ORG>
parents:
0
diff
changeset
|
2 CFLAGS= -O2 |
0
cd92449fdb51
initial import of ueda and ifctf-part-lib from ifctfvax CVS
Space Falcon <falcon@ivan.Harhan.ORG>
parents:
diff
changeset
|
3 PROGS= getfps mkbom shortbom |
cd92449fdb51
initial import of ueda and ifctf-part-lib from ifctfvax CVS
Space Falcon <falcon@ivan.Harhan.ORG>
parents:
diff
changeset
|
4 LIBUEDA=../libueda/libueda.a |
3
d098f8548b44
ueda/mclutils Linuxified
Space Falcon <falcon@ivan.Harhan.ORG>
parents:
0
diff
changeset
|
5 BINDIR= /usr/local/bin |
0
cd92449fdb51
initial import of ueda and ifctf-part-lib from ifctfvax CVS
Space Falcon <falcon@ivan.Harhan.ORG>
parents:
diff
changeset
|
6 |
cd92449fdb51
initial import of ueda and ifctf-part-lib from ifctfvax CVS
Space Falcon <falcon@ivan.Harhan.ORG>
parents:
diff
changeset
|
7 all: ${PROGS} |
cd92449fdb51
initial import of ueda and ifctf-part-lib from ifctfvax CVS
Space Falcon <falcon@ivan.Harhan.ORG>
parents:
diff
changeset
|
8 |
81
6e43956e740d
beginning of BOM utils refactoring: seqrefdes code factored out
Mychaela Falconia <falcon@freecalypso.org>
parents:
3
diff
changeset
|
9 getfps: getfps.o ${LIBUEDA} |
6e43956e740d
beginning of BOM utils refactoring: seqrefdes code factored out
Mychaela Falconia <falcon@freecalypso.org>
parents:
3
diff
changeset
|
10 ${CC} ${CFLAGS} -o $@ $@.o ${LIBUEDA} |
6e43956e740d
beginning of BOM utils refactoring: seqrefdes code factored out
Mychaela Falconia <falcon@freecalypso.org>
parents:
3
diff
changeset
|
11 |
83
88cdef7e6b1b
BOM tallying code factored out of ueda-mkbom
Mychaela Falconia <falcon@freecalypso.org>
parents:
81
diff
changeset
|
12 mkbom: mkbom.o bomtally.o seqrefdes.o ${LIBUEDA} |
88cdef7e6b1b
BOM tallying code factored out of ueda-mkbom
Mychaela Falconia <falcon@freecalypso.org>
parents:
81
diff
changeset
|
13 ${CC} ${CFLAGS} -o $@ $@.o bomtally.o seqrefdes.o ${LIBUEDA} |
81
6e43956e740d
beginning of BOM utils refactoring: seqrefdes code factored out
Mychaela Falconia <falcon@freecalypso.org>
parents:
3
diff
changeset
|
14 |
6e43956e740d
beginning of BOM utils refactoring: seqrefdes code factored out
Mychaela Falconia <falcon@freecalypso.org>
parents:
3
diff
changeset
|
15 shortbom: shortbom.o ${LIBUEDA} |
0
cd92449fdb51
initial import of ueda and ifctf-part-lib from ifctfvax CVS
Space Falcon <falcon@ivan.Harhan.ORG>
parents:
diff
changeset
|
16 ${CC} ${CFLAGS} -o $@ $@.o ${LIBUEDA} |
cd92449fdb51
initial import of ueda and ifctf-part-lib from ifctfvax CVS
Space Falcon <falcon@ivan.Harhan.ORG>
parents:
diff
changeset
|
17 |
cd92449fdb51
initial import of ueda and ifctf-part-lib from ifctfvax CVS
Space Falcon <falcon@ivan.Harhan.ORG>
parents:
diff
changeset
|
18 install: |
cd92449fdb51
initial import of ueda and ifctf-part-lib from ifctfvax CVS
Space Falcon <falcon@ivan.Harhan.ORG>
parents:
diff
changeset
|
19 install -c -o bin -g bin -m 755 getfps ${BINDIR}/ueda-getfps |
cd92449fdb51
initial import of ueda and ifctf-part-lib from ifctfvax CVS
Space Falcon <falcon@ivan.Harhan.ORG>
parents:
diff
changeset
|
20 install -c -o bin -g bin -m 755 mkbom ${BINDIR}/ueda-mkbom |
cd92449fdb51
initial import of ueda and ifctf-part-lib from ifctfvax CVS
Space Falcon <falcon@ivan.Harhan.ORG>
parents:
diff
changeset
|
21 install -c -o bin -g bin -m 755 shortbom ${BINDIR}/ueda-shortbom |
cd92449fdb51
initial import of ueda and ifctf-part-lib from ifctfvax CVS
Space Falcon <falcon@ivan.Harhan.ORG>
parents:
diff
changeset
|
22 |
cd92449fdb51
initial import of ueda and ifctf-part-lib from ifctfvax CVS
Space Falcon <falcon@ivan.Harhan.ORG>
parents:
diff
changeset
|
23 clean: |
cd92449fdb51
initial import of ueda and ifctf-part-lib from ifctfvax CVS
Space Falcon <falcon@ivan.Harhan.ORG>
parents:
diff
changeset
|
24 rm -f *.[ao] a.out core errs ${PROGS} |