comparison ffstools/caltools/Makefile @ 484:68c7e4edc4da

fc-bin2rftab utility written
author Mychaela Falconia <falcon@freecalypso.org>
date Fri, 15 Mar 2019 05:47:06 +0000
parents 90d7c360a614
children e5ef798e2d35
comparison
equal deleted inserted replaced
483:e76cb6994508 484:68c7e4edc4da
1 CC= gcc 1 CC= gcc
2 CFLAGS= -O2 2 CFLAGS= -O2
3 PROGS= c1xx-calextr fc-cal2bin fc-rftab2c 3 PROGS= c1xx-calextr fc-bin2rftab fc-cal2bin fc-rftab2c
4 4
5 INSTALL_PREFIX= /opt/freecalypso 5 INSTALL_PREFIX= /opt/freecalypso
6 6
7 INSTBIN=${INSTALL_PREFIX}/bin 7 INSTBIN=${INSTALL_PREFIX}/bin
8 8
9 all: ${PROGS} 9 all: ${PROGS}
10 10
11 LIBRFTAB= ../../librftab/librftab.a 11 LIBRFTAB= ../../librftab/librftab.a
12 12
13 BIN2RFTAB_OBJS= fc-bin2rftab.o ${LIBRFTAB}
14
13 CAL2BIN_OBJS= fc-cal2bin.o ${LIBRFTAB} 15 CAL2BIN_OBJS= fc-cal2bin.o ${LIBRFTAB}
14 16
15 CALEXTR_OBJS= c1xx-calextr.o mkdir.o ${LIBRFTAB} 17 CALEXTR_OBJS= c1xx-calextr.o mkdir.o ${LIBRFTAB}
16 18
17 RFTAB2C_OBJS= fc-rftab2c.o ${LIBRFTAB} 19 RFTAB2C_OBJS= fc-rftab2c.o ${LIBRFTAB}
20
21 fc-bin2rftab: ${BIN2RFTAB_OBJS}
22 ${CC} ${CFLAGS} -o $@ ${BIN2RFTAB_OBJS}
18 23
19 fc-cal2bin: ${CAL2BIN_OBJS} 24 fc-cal2bin: ${CAL2BIN_OBJS}
20 ${CC} ${CFLAGS} -o $@ ${CAL2BIN_OBJS} 25 ${CC} ${CFLAGS} -o $@ ${CAL2BIN_OBJS}
21 26
22 c1xx-calextr: ${CALEXTR_OBJS} 27 c1xx-calextr: ${CALEXTR_OBJS}