annotate mpffs/Makefile @ 118:193926ccd1ec

tiobjd: better handling of section-relative relocs
author Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
date Thu, 03 Apr 2014 07:47:03 +0000
parents 390be89892c4
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
30
9c3c5a572b57 mpffs-ls works with the length code stubbed out
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1 CC= gcc
9c3c5a572b57 mpffs-ls works with the length code stubbed out
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2 CFLAGS= -O2
36
390be89892c4 mpffs-xtr ported over
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents: 35
diff changeset
3 PROGS= mpffs-cat mpffs-dbgls mpffs-ls mpffs-xtr
30
9c3c5a572b57 mpffs-ls works with the length code stubbed out
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
4 INSTDIR=/usr/local/bin
9c3c5a572b57 mpffs-ls works with the length code stubbed out
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
5
34
95f61c3b430a mpffs-rdutils: pathname search implemented
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents: 33
diff changeset
6 CAT_OBJS= common.o cat.o find.o
95f61c3b430a mpffs-rdutils: pathname search implemented
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents: 33
diff changeset
7 DBGLS_OBJS= common.o dbgls.o find.o
30
9c3c5a572b57 mpffs-ls works with the length code stubbed out
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
8 LS_OBJS= common.o ls.o
9c3c5a572b57 mpffs-ls works with the length code stubbed out
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
9 XTR_OBJS= common.o xtr.o
9c3c5a572b57 mpffs-ls works with the length code stubbed out
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
10
9c3c5a572b57 mpffs-ls works with the length code stubbed out
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
11 all: ${PROGS}
9c3c5a572b57 mpffs-ls works with the length code stubbed out
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
12
35
ee4c761187cf mpffs-cat implemented
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents: 34
diff changeset
13 mpffs-cat: ${CAT_OBJS}
ee4c761187cf mpffs-cat implemented
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents: 34
diff changeset
14 ${CC} -o $@ ${CAT_OBJS}
ee4c761187cf mpffs-cat implemented
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents: 34
diff changeset
15
33
660b0ea739f3 mpffs-dbgls implemented
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents: 30
diff changeset
16 mpffs-dbgls: ${DBGLS_OBJS}
660b0ea739f3 mpffs-dbgls implemented
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents: 30
diff changeset
17 ${CC} -o $@ ${DBGLS_OBJS}
660b0ea739f3 mpffs-dbgls implemented
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents: 30
diff changeset
18
30
9c3c5a572b57 mpffs-ls works with the length code stubbed out
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
19 mpffs-ls: ${LS_OBJS}
9c3c5a572b57 mpffs-ls works with the length code stubbed out
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
20 ${CC} -o $@ ${LS_OBJS}
9c3c5a572b57 mpffs-ls works with the length code stubbed out
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
21
36
390be89892c4 mpffs-xtr ported over
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents: 35
diff changeset
22 mpffs-xtr: ${XTR_OBJS}
390be89892c4 mpffs-xtr ported over
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents: 35
diff changeset
23 ${CC} -o $@ ${XTR_OBJS}
390be89892c4 mpffs-xtr ported over
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents: 35
diff changeset
24
30
9c3c5a572b57 mpffs-ls works with the length code stubbed out
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
25 install:
9c3c5a572b57 mpffs-ls works with the length code stubbed out
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
26 install -c ${PROGS} ${INSTDIR}
9c3c5a572b57 mpffs-ls works with the length code stubbed out
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
27
9c3c5a572b57 mpffs-ls works with the length code stubbed out
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
28 clean:
9c3c5a572b57 mpffs-ls works with the length code stubbed out
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
29 rm -f *.o *.out *errs ${PROGS}