annotate ffstools/caltools/Makefile @ 476:0615d54c2d2e

target-utils/calversion/crt0.S: symlink was checked in erroneously, removing
author Mychaela Falconia <falcon@freecalypso.org>
date Wed, 13 Feb 2019 06:14:30 +0000
parents 90d7c360a614
children 68c7e4edc4da
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
292
0af5009bd52f fc-cal2bin written, compiles
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
1 CC= gcc
0af5009bd52f fc-cal2bin written, compiles
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
2 CFLAGS= -O2
439
f4a32c1025a2 fc-rftab2c program written, compiles
Mychaela Falconia <falcon@freecalypso.org>
parents: 295
diff changeset
3 PROGS= c1xx-calextr fc-cal2bin fc-rftab2c
473
90d7c360a614 main tree Makefile hierarchy: INSTALL_PREFIX= scheme implemented
Mychaela Falconia <falcon@freecalypso.org>
parents: 439
diff changeset
4
90d7c360a614 main tree Makefile hierarchy: INSTALL_PREFIX= scheme implemented
Mychaela Falconia <falcon@freecalypso.org>
parents: 439
diff changeset
5 INSTALL_PREFIX= /opt/freecalypso
90d7c360a614 main tree Makefile hierarchy: INSTALL_PREFIX= scheme implemented
Mychaela Falconia <falcon@freecalypso.org>
parents: 439
diff changeset
6
90d7c360a614 main tree Makefile hierarchy: INSTALL_PREFIX= scheme implemented
Mychaela Falconia <falcon@freecalypso.org>
parents: 439
diff changeset
7 INSTBIN=${INSTALL_PREFIX}/bin
292
0af5009bd52f fc-cal2bin written, compiles
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
8
0af5009bd52f fc-cal2bin written, compiles
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
9 all: ${PROGS}
0af5009bd52f fc-cal2bin written, compiles
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
10
0af5009bd52f fc-cal2bin written, compiles
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
11 LIBRFTAB= ../../librftab/librftab.a
0af5009bd52f fc-cal2bin written, compiles
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
12
294
1416fe200069 c1xx-calextr started
Mychaela Falconia <falcon@freecalypso.org>
parents: 292
diff changeset
13 CAL2BIN_OBJS= fc-cal2bin.o ${LIBRFTAB}
1416fe200069 c1xx-calextr started
Mychaela Falconia <falcon@freecalypso.org>
parents: 292
diff changeset
14
295
79434b9de159 c1xx-calextr will need mkdir and librftab
Mychaela Falconia <falcon@freecalypso.org>
parents: 294
diff changeset
15 CALEXTR_OBJS= c1xx-calextr.o mkdir.o ${LIBRFTAB}
294
1416fe200069 c1xx-calextr started
Mychaela Falconia <falcon@freecalypso.org>
parents: 292
diff changeset
16
439
f4a32c1025a2 fc-rftab2c program written, compiles
Mychaela Falconia <falcon@freecalypso.org>
parents: 295
diff changeset
17 RFTAB2C_OBJS= fc-rftab2c.o ${LIBRFTAB}
f4a32c1025a2 fc-rftab2c program written, compiles
Mychaela Falconia <falcon@freecalypso.org>
parents: 295
diff changeset
18
294
1416fe200069 c1xx-calextr started
Mychaela Falconia <falcon@freecalypso.org>
parents: 292
diff changeset
19 fc-cal2bin: ${CAL2BIN_OBJS}
1416fe200069 c1xx-calextr started
Mychaela Falconia <falcon@freecalypso.org>
parents: 292
diff changeset
20 ${CC} ${CFLAGS} -o $@ ${CAL2BIN_OBJS}
1416fe200069 c1xx-calextr started
Mychaela Falconia <falcon@freecalypso.org>
parents: 292
diff changeset
21
1416fe200069 c1xx-calextr started
Mychaela Falconia <falcon@freecalypso.org>
parents: 292
diff changeset
22 c1xx-calextr: ${CALEXTR_OBJS}
1416fe200069 c1xx-calextr started
Mychaela Falconia <falcon@freecalypso.org>
parents: 292
diff changeset
23 ${CC} ${CFLAGS} -o $@ ${CALEXTR_OBJS}
292
0af5009bd52f fc-cal2bin written, compiles
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
24
439
f4a32c1025a2 fc-rftab2c program written, compiles
Mychaela Falconia <falcon@freecalypso.org>
parents: 295
diff changeset
25 fc-rftab2c: ${RFTAB2C_OBJS}
f4a32c1025a2 fc-rftab2c program written, compiles
Mychaela Falconia <falcon@freecalypso.org>
parents: 295
diff changeset
26 ${CC} ${CFLAGS} -o $@ ${RFTAB2C_OBJS}
f4a32c1025a2 fc-rftab2c program written, compiles
Mychaela Falconia <falcon@freecalypso.org>
parents: 295
diff changeset
27
295
79434b9de159 c1xx-calextr will need mkdir and librftab
Mychaela Falconia <falcon@freecalypso.org>
parents: 294
diff changeset
28 mkdir.o: ../cal2text/mkdir.c
79434b9de159 c1xx-calextr will need mkdir and librftab
Mychaela Falconia <falcon@freecalypso.org>
parents: 294
diff changeset
29 ${CC} ${CFLAGS} -c -o $@ $<
79434b9de159 c1xx-calextr will need mkdir and librftab
Mychaela Falconia <falcon@freecalypso.org>
parents: 294
diff changeset
30
292
0af5009bd52f fc-cal2bin written, compiles
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
31 install:
0af5009bd52f fc-cal2bin written, compiles
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
32 mkdir -p ${INSTBIN}
0af5009bd52f fc-cal2bin written, compiles
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
33 install -c ${PROGS} ${INSTBIN}
0af5009bd52f fc-cal2bin written, compiles
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
34
0af5009bd52f fc-cal2bin written, compiles
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
35 clean:
0af5009bd52f fc-cal2bin written, compiles
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
36 rm -f ${PROGS} *.o *errs *.out