annotate ffstools/tiffs-wrappers/Makefile @ 418:a9bf3e92a30c

tfc139: clean exit on success
author Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
date Tue, 17 Jun 2014 20:59:59 +0000
parents 872d92404b6a
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
244
48a254ca4493 TIFFS IVA: mokoffs wrapper written
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1 CC= gcc
48a254ca4493 TIFFS IVA: mokoffs wrapper written
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2 CFLAGS= -O2
246
872d92404b6a ffstools: pirffs wrapper
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents: 244
diff changeset
3 PROGS= mokoffs pirffs
244
48a254ca4493 TIFFS IVA: mokoffs wrapper written
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
4 INSTBIN=/usr/local/bin
48a254ca4493 TIFFS IVA: mokoffs wrapper written
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
5
48a254ca4493 TIFFS IVA: mokoffs wrapper written
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
6 MOKOFFS_OBJS= installpath.o mokoffs.o
246
872d92404b6a ffstools: pirffs wrapper
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents: 244
diff changeset
7 PIRFFS_OBJS= installpath.o pirffs.o
244
48a254ca4493 TIFFS IVA: mokoffs wrapper written
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
8
48a254ca4493 TIFFS IVA: mokoffs wrapper written
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
9 all: ${PROGS}
48a254ca4493 TIFFS IVA: mokoffs wrapper written
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
10
48a254ca4493 TIFFS IVA: mokoffs wrapper written
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
11 mokoffs: ${MOKOFFS_OBJS}
48a254ca4493 TIFFS IVA: mokoffs wrapper written
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
12 ${CC} ${CFLAGS} -o $@ ${MOKOFFS_OBJS}
48a254ca4493 TIFFS IVA: mokoffs wrapper written
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
13
246
872d92404b6a ffstools: pirffs wrapper
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents: 244
diff changeset
14 pirffs: ${PIRFFS_OBJS}
872d92404b6a ffstools: pirffs wrapper
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents: 244
diff changeset
15 ${CC} ${CFLAGS} -o $@ ${PIRFFS_OBJS}
872d92404b6a ffstools: pirffs wrapper
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents: 244
diff changeset
16
244
48a254ca4493 TIFFS IVA: mokoffs wrapper written
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
17 install: ${PROGS}
48a254ca4493 TIFFS IVA: mokoffs wrapper written
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
18 mkdir -p ${INSTBIN}
48a254ca4493 TIFFS IVA: mokoffs wrapper written
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
19 install -c ${PROGS} ${INSTBIN}
48a254ca4493 TIFFS IVA: mokoffs wrapper written
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
20
48a254ca4493 TIFFS IVA: mokoffs wrapper written
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
21 clean:
48a254ca4493 TIFFS IVA: mokoffs wrapper written
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
22 rm -f *.o *.out *errs ${PROGS}