FreeCalypso > hg > ueda-linux
annotate ueda/unet-utils/Makefile @ 35:47b5b8310cac
unet2pcb written, compiles
author | Space Falcon <falcon@ivan.Harhan.ORG> |
---|---|
date | Sun, 09 Aug 2015 06:33:38 +0000 |
parents | 2af4a85daf89 |
children | 25634b3977a9 |
rev | line source |
---|---|
24
7e8a2cb54b6b
started implementing unet-destar
Space Falcon <falcon@ivan.Harhan.ORG>
parents:
diff
changeset
|
1 CC= gcc |
7e8a2cb54b6b
started implementing unet-destar
Space Falcon <falcon@ivan.Harhan.ORG>
parents:
diff
changeset
|
2 CFLAGS= -O2 |
35
47b5b8310cac
unet2pcb written, compiles
Space Falcon <falcon@ivan.Harhan.ORG>
parents:
33
diff
changeset
|
3 PROGS= unet-destar unet2pads unet2pcb |
24
7e8a2cb54b6b
started implementing unet-destar
Space Falcon <falcon@ivan.Harhan.ORG>
parents:
diff
changeset
|
4 LIBUNET=../libunet/libunet.a |
7e8a2cb54b6b
started implementing unet-destar
Space Falcon <falcon@ivan.Harhan.ORG>
parents:
diff
changeset
|
5 BINDIR= /usr/local/bin |
7e8a2cb54b6b
started implementing unet-destar
Space Falcon <falcon@ivan.Harhan.ORG>
parents:
diff
changeset
|
6 |
7e8a2cb54b6b
started implementing unet-destar
Space Falcon <falcon@ivan.Harhan.ORG>
parents:
diff
changeset
|
7 all: ${PROGS} |
7e8a2cb54b6b
started implementing unet-destar
Space Falcon <falcon@ivan.Harhan.ORG>
parents:
diff
changeset
|
8 |
7e8a2cb54b6b
started implementing unet-destar
Space Falcon <falcon@ivan.Harhan.ORG>
parents:
diff
changeset
|
9 ${PROGS}: ${LIBUNET} |
7e8a2cb54b6b
started implementing unet-destar
Space Falcon <falcon@ivan.Harhan.ORG>
parents:
diff
changeset
|
10 ${CC} ${CFLAGS} -o $@ $@.o ${LIBUNET} |
7e8a2cb54b6b
started implementing unet-destar
Space Falcon <falcon@ivan.Harhan.ORG>
parents:
diff
changeset
|
11 |
7e8a2cb54b6b
started implementing unet-destar
Space Falcon <falcon@ivan.Harhan.ORG>
parents:
diff
changeset
|
12 install: |
7e8a2cb54b6b
started implementing unet-destar
Space Falcon <falcon@ivan.Harhan.ORG>
parents:
diff
changeset
|
13 install -c -o bin -g bin -m 755 ${PROGS} ${BINDIR} |
7e8a2cb54b6b
started implementing unet-destar
Space Falcon <falcon@ivan.Harhan.ORG>
parents:
diff
changeset
|
14 |
7e8a2cb54b6b
started implementing unet-destar
Space Falcon <falcon@ivan.Harhan.ORG>
parents:
diff
changeset
|
15 clean: |
7e8a2cb54b6b
started implementing unet-destar
Space Falcon <falcon@ivan.Harhan.ORG>
parents:
diff
changeset
|
16 rm -f *.[ao] a.out core errs ${PROGS} |
7e8a2cb54b6b
started implementing unet-destar
Space Falcon <falcon@ivan.Harhan.ORG>
parents:
diff
changeset
|
17 |
7e8a2cb54b6b
started implementing unet-destar
Space Falcon <falcon@ivan.Harhan.ORG>
parents:
diff
changeset
|
18 unet-destar: unet-destar.o |
33
2af4a85daf89
unet2pads program written, compiles
Space Falcon <falcon@ivan.Harhan.ORG>
parents:
24
diff
changeset
|
19 unet2pads: unet2pads.o |
35
47b5b8310cac
unet2pcb written, compiles
Space Falcon <falcon@ivan.Harhan.ORG>
parents:
33
diff
changeset
|
20 unet2pcb: unet2pcb.o |