annotate tool/Makefile @ 18:94999935b791 default tip

main-rvtmodem.patch created
author Mychaela Falconia <falcon@ivan.Harhan.ORG>
date Sun, 01 Nov 2015 06:40:12 +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