FreeCalypso > hg > ueda-linux
annotate ueda/sverp-bind/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 | 61272ee5aadc |
children |
rev | line source |
---|---|
12
51893347bc42
unet-bind implementation started
Space Falcon <falcon@ivan.Harhan.ORG>
parents:
diff
changeset
|
1 CC= gcc |
51893347bc42
unet-bind implementation started
Space Falcon <falcon@ivan.Harhan.ORG>
parents:
diff
changeset
|
2 CFLAGS= -O2 |
22
c7ebd6179f5d
ueda-bind: output implemented
Space Falcon <falcon@ivan.Harhan.ORG>
parents:
19
diff
changeset
|
3 OBJS= enterinst.o insthash.o main.o outcomp.o output.o readunet.o starpoints.o |
19
1d4c693b8f35
unet-bind: sverp netlist reading implemented
Space Falcon <falcon@ivan.Harhan.ORG>
parents:
16
diff
changeset
|
4 LIBS= ../libunet/libunet.a ../libueda/libueda.a |
12
51893347bc42
unet-bind implementation started
Space Falcon <falcon@ivan.Harhan.ORG>
parents:
diff
changeset
|
5 PROG= unet-bind |
51893347bc42
unet-bind implementation started
Space Falcon <falcon@ivan.Harhan.ORG>
parents:
diff
changeset
|
6 BINDIR= /usr/local/bin |
51893347bc42
unet-bind implementation started
Space Falcon <falcon@ivan.Harhan.ORG>
parents:
diff
changeset
|
7 |
51893347bc42
unet-bind implementation started
Space Falcon <falcon@ivan.Harhan.ORG>
parents:
diff
changeset
|
8 all: ${PROG} |
51893347bc42
unet-bind implementation started
Space Falcon <falcon@ivan.Harhan.ORG>
parents:
diff
changeset
|
9 |
51893347bc42
unet-bind implementation started
Space Falcon <falcon@ivan.Harhan.ORG>
parents:
diff
changeset
|
10 ${PROG}: ${OBJS} ${LIBS} |
51893347bc42
unet-bind implementation started
Space Falcon <falcon@ivan.Harhan.ORG>
parents:
diff
changeset
|
11 ${CC} -o $@ ${OBJS} ${LIBS} |
51893347bc42
unet-bind implementation started
Space Falcon <falcon@ivan.Harhan.ORG>
parents:
diff
changeset
|
12 |
31
61272ee5aadc
unet-bind: implemented -a option for specifying wanted attributes
Space Falcon <falcon@ivan.Harhan.ORG>
parents:
22
diff
changeset
|
13 ${OBJS}: struct.h |
61272ee5aadc
unet-bind: implemented -a option for specifying wanted attributes
Space Falcon <falcon@ivan.Harhan.ORG>
parents:
22
diff
changeset
|
14 |
12
51893347bc42
unet-bind implementation started
Space Falcon <falcon@ivan.Harhan.ORG>
parents:
diff
changeset
|
15 install: |
51893347bc42
unet-bind implementation started
Space Falcon <falcon@ivan.Harhan.ORG>
parents:
diff
changeset
|
16 install -c -o bin -g bin -m 755 ${PROG} ${BINDIR} |
51893347bc42
unet-bind implementation started
Space Falcon <falcon@ivan.Harhan.ORG>
parents:
diff
changeset
|
17 |
51893347bc42
unet-bind implementation started
Space Falcon <falcon@ivan.Harhan.ORG>
parents:
diff
changeset
|
18 clean: |
51893347bc42
unet-bind implementation started
Space Falcon <falcon@ivan.Harhan.ORG>
parents:
diff
changeset
|
19 rm -f *.[ao] a.out core errs ${PROG} |