annotate ffstools/tiffs-rd/Makefile @ 1013:bc4dc383ff4a default tip

doc/Loadtools-usage: list SE J110/120 pair properly These two Chi-Mei phones are variants of the same design with only minor diffs.
author Mychaela Falconia <falcon@freecalypso.org>
date Mon, 23 Sep 2024 12:28:57 +0000
parents d68275d47a32
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
e7502631a0f9 initial import from freecalypso-sw rev 1033:5ab737ac3ad7
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
1 CC= gcc
e7502631a0f9 initial import from freecalypso-sw rev 1033:5ab737ac3ad7
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
2 CFLAGS= -O2
e7502631a0f9 initial import from freecalypso-sw rev 1033:5ab737ac3ad7
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
3 PROG= tiffs
726
d68275d47a32 tiffs IVA: decode command implemented
Mychaela Falconia <falcon@freecalypso.org>
parents: 473
diff changeset
4 OBJS= basics.o cat.o decode.o globals.o inode.o ls.o main.o object.o tree.o \
d68275d47a32 tiffs IVA: decode command implemented
Mychaela Falconia <falcon@freecalypso.org>
parents: 473
diff changeset
5 xtr.o
0
e7502631a0f9 initial import from freecalypso-sw rev 1033:5ab737ac3ad7
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
6 HDRS= globals.h pathname.h struct.h types.h
726
d68275d47a32 tiffs IVA: decode command implemented
Mychaela Falconia <falcon@freecalypso.org>
parents: 473
diff changeset
7 LIBS= ../../librftab/librftab.a
473
90d7c360a614 main tree Makefile hierarchy: INSTALL_PREFIX= scheme implemented
Mychaela Falconia <falcon@freecalypso.org>
parents: 46
diff changeset
8
90d7c360a614 main tree Makefile hierarchy: INSTALL_PREFIX= scheme implemented
Mychaela Falconia <falcon@freecalypso.org>
parents: 46
diff changeset
9 INSTALL_PREFIX= /opt/freecalypso
90d7c360a614 main tree Makefile hierarchy: INSTALL_PREFIX= scheme implemented
Mychaela Falconia <falcon@freecalypso.org>
parents: 46
diff changeset
10
90d7c360a614 main tree Makefile hierarchy: INSTALL_PREFIX= scheme implemented
Mychaela Falconia <falcon@freecalypso.org>
parents: 46
diff changeset
11 INSTBIN=${INSTALL_PREFIX}/bin
0
e7502631a0f9 initial import from freecalypso-sw rev 1033:5ab737ac3ad7
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
12
e7502631a0f9 initial import from freecalypso-sw rev 1033:5ab737ac3ad7
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
13 all: ${PROG}
e7502631a0f9 initial import from freecalypso-sw rev 1033:5ab737ac3ad7
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
14
726
d68275d47a32 tiffs IVA: decode command implemented
Mychaela Falconia <falcon@freecalypso.org>
parents: 473
diff changeset
15 ${PROG}: ${OBJS} ${LIBS}
d68275d47a32 tiffs IVA: decode command implemented
Mychaela Falconia <falcon@freecalypso.org>
parents: 473
diff changeset
16 ${CC} -o $@ ${OBJS} ${LIBS}
0
e7502631a0f9 initial import from freecalypso-sw rev 1033:5ab737ac3ad7
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
17
e7502631a0f9 initial import from freecalypso-sw rev 1033:5ab737ac3ad7
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
18 ${OBJS}: ${HDRS}
e7502631a0f9 initial import from freecalypso-sw rev 1033:5ab737ac3ad7
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
19
e7502631a0f9 initial import from freecalypso-sw rev 1033:5ab737ac3ad7
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
20 install: ${PROG}
e7502631a0f9 initial import from freecalypso-sw rev 1033:5ab737ac3ad7
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
21 mkdir -p ${INSTBIN}
e7502631a0f9 initial import from freecalypso-sw rev 1033:5ab737ac3ad7
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
22 install -c ${PROG} ${INSTBIN}
e7502631a0f9 initial import from freecalypso-sw rev 1033:5ab737ac3ad7
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
23
e7502631a0f9 initial import from freecalypso-sw rev 1033:5ab737ac3ad7
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
24 clean:
e7502631a0f9 initial import from freecalypso-sw rev 1033:5ab737ac3ad7
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
25 rm -f ${PROG} *.o *.out *errs