FreeCalypso > hg > tcs211-patches
annotate tool/Makefile @ 3:003df9892e57
import original TCS211 libs from Sotovik
author | Space Falcon <falcon@ivan.Harhan.ORG> |
---|---|
date | Fri, 05 Jun 2015 21:19:08 +0000 |
parents | 058d377fc299 |
children | 87e9f30f5f86 |
rev | line source |
---|---|
0
12e230d431f0
started writing libpatch tool
Space Falcon <falcon@ivan.Harhan.ORG>
parents:
diff
changeset
|
1 CC= gcc |
12e230d431f0
started writing libpatch tool
Space Falcon <falcon@ivan.Harhan.ORG>
parents:
diff
changeset
|
2 CFLAGS= -O2 |
1
b9fe017905f8
let's call it ti-libpatch
Space Falcon <falcon@ivan.Harhan.ORG>
parents:
0
diff
changeset
|
3 PROG= ti-libpatch |
2
058d377fc299
ti-libpatch: archive processing implemented
Space Falcon <falcon@ivan.Harhan.ORG>
parents:
1
diff
changeset
|
4 OBJS= archive.o globals.o main.o readspec.o |
0
12e230d431f0
started writing libpatch tool
Space Falcon <falcon@ivan.Harhan.ORG>
parents:
diff
changeset
|
5 HDRS= ar.h globals.h patchinfo.h |
12e230d431f0
started writing libpatch tool
Space Falcon <falcon@ivan.Harhan.ORG>
parents:
diff
changeset
|
6 |
12e230d431f0
started writing libpatch tool
Space Falcon <falcon@ivan.Harhan.ORG>
parents:
diff
changeset
|
7 all: ${PROG} |
12e230d431f0
started writing libpatch tool
Space Falcon <falcon@ivan.Harhan.ORG>
parents:
diff
changeset
|
8 |
12e230d431f0
started writing libpatch tool
Space Falcon <falcon@ivan.Harhan.ORG>
parents:
diff
changeset
|
9 ${PROG}: ${OBJS} |
12e230d431f0
started writing libpatch tool
Space Falcon <falcon@ivan.Harhan.ORG>
parents:
diff
changeset
|
10 ${CC} -o $@ ${OBJS} |
12e230d431f0
started writing libpatch tool
Space Falcon <falcon@ivan.Harhan.ORG>
parents:
diff
changeset
|
11 |
12e230d431f0
started writing libpatch tool
Space Falcon <falcon@ivan.Harhan.ORG>
parents:
diff
changeset
|
12 ${OBJS}: ${HDRS} |
12e230d431f0
started writing libpatch tool
Space Falcon <falcon@ivan.Harhan.ORG>
parents:
diff
changeset
|
13 |
12e230d431f0
started writing libpatch tool
Space Falcon <falcon@ivan.Harhan.ORG>
parents:
diff
changeset
|
14 install: |
12e230d431f0
started writing libpatch tool
Space Falcon <falcon@ivan.Harhan.ORG>
parents:
diff
changeset
|
15 install -c -o bin -g bin -m 755 ${PROG} /usr/local/bin |
12e230d431f0
started writing libpatch tool
Space Falcon <falcon@ivan.Harhan.ORG>
parents:
diff
changeset
|
16 |
12e230d431f0
started writing libpatch tool
Space Falcon <falcon@ivan.Harhan.ORG>
parents:
diff
changeset
|
17 clean: |
12e230d431f0
started writing libpatch tool
Space Falcon <falcon@ivan.Harhan.ORG>
parents:
diff
changeset
|
18 rm -f *.o ${PROG} *errs |