annotate ffstools/tiffs-rd/Makefile @ 242:924a80747176

ffstools/tiffs-rd/Makefile: install target added
author Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
date Mon, 27 Jan 2014 03:05:56 +0000
parents acedd4c88d2e
children 10afa4d39a7b
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
225
c04aa85559ed TIFFS in vitro reader started
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1 CC= gcc
c04aa85559ed TIFFS in vitro reader started
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2 CFLAGS= -O2
c04aa85559ed TIFFS in vitro reader started
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
3 PROG= tiffs
240
acedd4c88d2e tiffs cat command implemented
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents: 233
diff changeset
4 OBJS= basics.o cat.o globals.o inode.o ls.o main.o object.o tree.o
231
5ceacdbd4490 tiffs IVA: finds the root inode
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents: 229
diff changeset
5 HDRS= globals.h pathname.h struct.h types.h
242
924a80747176 ffstools/tiffs-rd/Makefile: install target added
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents: 240
diff changeset
6 INSTBIN=/usr/local/bin
225
c04aa85559ed TIFFS in vitro reader started
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
7
c04aa85559ed TIFFS in vitro reader started
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
8 all: ${PROG}
c04aa85559ed TIFFS in vitro reader started
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
9
242
924a80747176 ffstools/tiffs-rd/Makefile: install target added
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents: 240
diff changeset
10 ${PROG}: ${OBJS}
225
c04aa85559ed TIFFS in vitro reader started
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
11 ${CC} -o $@ ${OBJS}
c04aa85559ed TIFFS in vitro reader started
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
12
242
924a80747176 ffstools/tiffs-rd/Makefile: install target added
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents: 240
diff changeset
13 ${OBJS}: ${HDRS}
924a80747176 ffstools/tiffs-rd/Makefile: install target added
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents: 240
diff changeset
14
924a80747176 ffstools/tiffs-rd/Makefile: install target added
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents: 240
diff changeset
15 install: ${PROG}
924a80747176 ffstools/tiffs-rd/Makefile: install target added
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents: 240
diff changeset
16 mkdir -p ${INSTBIN}
924a80747176 ffstools/tiffs-rd/Makefile: install target added
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents: 240
diff changeset
17 install -c ${PROG} ${INSTBIN}
231
5ceacdbd4490 tiffs IVA: finds the root inode
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents: 229
diff changeset
18
225
c04aa85559ed TIFFS in vitro reader started
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
19 clean:
c04aa85559ed TIFFS in vitro reader started
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
20 rm -f ${PROG} *.o *.out *errs