annotate mpffs/Makefile @ 32:0bf037ba4149

mpffs-ls: report the full chunk length of the /.journal file
author Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
date Sun, 30 Jun 2013 07:16:01 +0000
parents 9c3c5a572b57
children 660b0ea739f3
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
9c3c5a572b57 mpffs-ls works with the length code stubbed out
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
3 PROGS= mpffs-ls
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
9c3c5a572b57 mpffs-ls works with the length code stubbed out
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
6 CAT_OBJS= common.o cat.o
9c3c5a572b57 mpffs-ls works with the length code stubbed out
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
7 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
8 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
9
9c3c5a572b57 mpffs-ls works with the length code stubbed out
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
10 all: ${PROGS}
9c3c5a572b57 mpffs-ls works with the length code stubbed out
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
11
9c3c5a572b57 mpffs-ls works with the length code stubbed out
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
12 mpffs-ls: ${LS_OBJS}
9c3c5a572b57 mpffs-ls works with the length code stubbed out
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
13 ${CC} -o $@ ${LS_OBJS}
9c3c5a572b57 mpffs-ls works with the length code stubbed out
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
14
9c3c5a572b57 mpffs-ls works with the length code stubbed out
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
15 install:
9c3c5a572b57 mpffs-ls works with the length code stubbed out
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
16 install -c ${PROGS} ${INSTDIR}
9c3c5a572b57 mpffs-ls works with the length code stubbed out
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
17
9c3c5a572b57 mpffs-ls works with the length code stubbed out
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
18 clean:
9c3c5a572b57 mpffs-ls works with the length code stubbed out
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
19 rm -f *.o *.out *errs ${PROGS}