FreeCalypso > hg > freecalypso-tools
diff 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 |
line wrap: on
line diff
--- a/ffstools/cal2text/Makefile Sat Nov 18 00:06:34 2017 +0000 +++ b/ffstools/cal2text/Makefile Sat Nov 18 00:20:36 2017 +0000 @@ -1,16 +1,14 @@ CC= gcc CFLAGS= -O2 PROG= fc-cal2text -OBJS= dircheck.o main.o mkdir.o rftablewr.o smallconv.o +OBJS= dircheck.o main.o mkdir.o smallconv.o +LIBS= ../../librftab/librftab.a INSTBIN=/opt/freecalypso/bin all: ${PROG} -${PROG}: ${OBJS} - ${CC} -o $@ ${OBJS} - -rftablewr.o: ../../rvinterf/tmsh/rftablewr.c - ${CC} ${CFLAGS} -c -o $@ $< +${PROG}: ${OBJS} ${LIBS} + ${CC} -o $@ ${OBJS} ${LIBS} install: ${PROG} mkdir -p ${INSTBIN}