FreeCalypso > hg > ueda-linux
annotate ueda/unet-utils/Makefile @ 32:6c7c79d37eff
unet-bind: attribute output implemented
author | Space Falcon <falcon@ivan.Harhan.ORG> |
---|---|
date | Sat, 08 Aug 2015 21:52:33 +0000 |
parents | 7e8a2cb54b6b |
children | 2af4a85daf89 |
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 |
7e8a2cb54b6b
started implementing unet-destar
Space Falcon <falcon@ivan.Harhan.ORG>
parents:
diff
changeset
|
3 PROGS= unet-destar |
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 |