diff 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
line wrap: on
line diff
--- a/ffstools/caltools/Makefile	Thu Mar 07 01:42:18 2019 +0000
+++ b/ffstools/caltools/Makefile	Fri Mar 15 05:47:06 2019 +0000
@@ -1,6 +1,6 @@
 CC=	gcc
 CFLAGS=	-O2
-PROGS=	c1xx-calextr fc-cal2bin fc-rftab2c
+PROGS=	c1xx-calextr fc-bin2rftab fc-cal2bin fc-rftab2c
 
 INSTALL_PREFIX=	/opt/freecalypso
 
@@ -10,12 +10,17 @@
 
 LIBRFTAB=	../../librftab/librftab.a
 
+BIN2RFTAB_OBJS=	fc-bin2rftab.o ${LIBRFTAB}
+
 CAL2BIN_OBJS=	fc-cal2bin.o ${LIBRFTAB}
 
 CALEXTR_OBJS=	c1xx-calextr.o mkdir.o ${LIBRFTAB}
 
 RFTAB2C_OBJS=	fc-rftab2c.o ${LIBRFTAB}
 
+fc-bin2rftab:	${BIN2RFTAB_OBJS}
+	${CC} ${CFLAGS} -o $@ ${BIN2RFTAB_OBJS}
+
 fc-cal2bin:	${CAL2BIN_OBJS}
 	${CC} ${CFLAGS} -o $@ ${CAL2BIN_OBJS}