annotate tool/Makefile @ 14:203e94e07231

frame_na7_db_ir-systrace.patch implemented
author Space Falcon <falcon@ivan.Harhan.ORG>
date Sat, 06 Jun 2015 19:06:33 +0000
parents 87e9f30f5f86
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
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
6
87e9f30f5f86 ti-libpatch: patching implemented
Space Falcon <falcon@ivan.Harhan.ORG>
parents: 2
diff changeset
4 OBJS= archive.o coff.o globals.o main.o patchhook.o readspec.o
87e9f30f5f86 ti-libpatch: patching implemented
Space Falcon <falcon@ivan.Harhan.ORG>
parents: 2
diff changeset
5 HDRS= ar.h coffstruct.h globals.h patchinfo.h
0
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