comparison ffstools/cal2text/Makefile @ 285:6d10869f7a1f

fc-cal2text converted to link with librftab
author Mychaela Falconia <falcon@freecalypso.org>
date Sat, 18 Nov 2017 00:20:36 +0000
parents d41edd329670
children 90d7c360a614
comparison
equal deleted inserted replaced
284:556bb8c860fa 285:6d10869f7a1f
1 CC= gcc 1 CC= gcc
2 CFLAGS= -O2 2 CFLAGS= -O2
3 PROG= fc-cal2text 3 PROG= fc-cal2text
4 OBJS= dircheck.o main.o mkdir.o rftablewr.o smallconv.o 4 OBJS= dircheck.o main.o mkdir.o smallconv.o
5 LIBS= ../../librftab/librftab.a
5 INSTBIN=/opt/freecalypso/bin 6 INSTBIN=/opt/freecalypso/bin
6 7
7 all: ${PROG} 8 all: ${PROG}
8 9
9 ${PROG}: ${OBJS} 10 ${PROG}: ${OBJS} ${LIBS}
10 ${CC} -o $@ ${OBJS} 11 ${CC} -o $@ ${OBJS} ${LIBS}
11
12 rftablewr.o: ../../rvinterf/tmsh/rftablewr.c
13 ${CC} ${CFLAGS} -c -o $@ $<
14 12
15 install: ${PROG} 13 install: ${PROG}
16 mkdir -p ${INSTBIN} 14 mkdir -p ${INSTBIN}
17 install -c ${PROG} ${INSTBIN} 15 install -c ${PROG} ${INSTBIN}
18 16