FreeCalypso > hg > freecalypso-sw
annotate ffstools/tiffs-rd/Makefile @ 384:7ef814efbebe
loadtools: make install logic refactored in light of compalstage addition
author | Michael Spacefalcon <msokolov@ivan.Harhan.ORG> |
---|---|
date | Tue, 10 Jun 2014 08:49:55 +0000 |
parents | 10afa4d39a7b |
children |
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 |
248
10afa4d39a7b
tiffs xtr implemented
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
242
diff
changeset
|
4 OBJS= basics.o cat.o globals.o inode.o ls.o main.o object.o tree.o xtr.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 |