comparison ffstools/caltools/Makefile @ 439:f4a32c1025a2

fc-rftab2c program written, compiles
author Mychaela Falconia <falcon@freecalypso.org>
date Sat, 17 Nov 2018 02:15:07 +0000
parents 79434b9de159
children 90d7c360a614
comparison
equal deleted inserted replaced
438:2ba7512efae5 439:f4a32c1025a2
1 CC= gcc 1 CC= gcc
2 CFLAGS= -O2 2 CFLAGS= -O2
3 PROGS= c1xx-calextr fc-cal2bin 3 PROGS= c1xx-calextr fc-cal2bin fc-rftab2c
4 INSTBIN=/opt/freecalypso/bin 4 INSTBIN=/opt/freecalypso/bin
5 5
6 all: ${PROGS} 6 all: ${PROGS}
7 7
8 LIBRFTAB= ../../librftab/librftab.a 8 LIBRFTAB= ../../librftab/librftab.a
9 9
10 CAL2BIN_OBJS= fc-cal2bin.o ${LIBRFTAB} 10 CAL2BIN_OBJS= fc-cal2bin.o ${LIBRFTAB}
11 11
12 CALEXTR_OBJS= c1xx-calextr.o mkdir.o ${LIBRFTAB} 12 CALEXTR_OBJS= c1xx-calextr.o mkdir.o ${LIBRFTAB}
13 13
14 RFTAB2C_OBJS= fc-rftab2c.o ${LIBRFTAB}
15
14 fc-cal2bin: ${CAL2BIN_OBJS} 16 fc-cal2bin: ${CAL2BIN_OBJS}
15 ${CC} ${CFLAGS} -o $@ ${CAL2BIN_OBJS} 17 ${CC} ${CFLAGS} -o $@ ${CAL2BIN_OBJS}
16 18
17 c1xx-calextr: ${CALEXTR_OBJS} 19 c1xx-calextr: ${CALEXTR_OBJS}
18 ${CC} ${CFLAGS} -o $@ ${CALEXTR_OBJS} 20 ${CC} ${CFLAGS} -o $@ ${CALEXTR_OBJS}
21
22 fc-rftab2c: ${RFTAB2C_OBJS}
23 ${CC} ${CFLAGS} -o $@ ${RFTAB2C_OBJS}
19 24
20 mkdir.o: ../cal2text/mkdir.c 25 mkdir.o: ../cal2text/mkdir.c
21 ${CC} ${CFLAGS} -c -o $@ $< 26 ${CC} ${CFLAGS} -c -o $@ $<
22 27
23 install: 28 install: