diff ffstools/caltools/Makefile @ 294:1416fe200069

c1xx-calextr started
author Mychaela Falconia <falcon@freecalypso.org>
date Sat, 18 Nov 2017 17:12:20 +0000
parents 0af5009bd52f
children 79434b9de159
line wrap: on
line diff
--- a/ffstools/caltools/Makefile	Sat Nov 18 07:39:23 2017 +0000
+++ b/ffstools/caltools/Makefile	Sat Nov 18 17:12:20 2017 +0000
@@ -1,14 +1,21 @@
 CC=	gcc
 CFLAGS=	-O2
-PROGS=	fc-cal2bin
+PROGS=	c1xx-calextr fc-cal2bin
 INSTBIN=/opt/freecalypso/bin
 
 all:	${PROGS}
 
 LIBRFTAB=	../../librftab/librftab.a
 
-fc-cal2bin:	fc-cal2bin.o ${LIBRFTAB}
-	${CC} ${CFLAGS} -o $@ fc-cal2bin.o ${LIBRFTAB}
+CAL2BIN_OBJS=	fc-cal2bin.o ${LIBRFTAB}
+
+CALEXTR_OBJS=	c1xx-calextr.o
+
+fc-cal2bin:	${CAL2BIN_OBJS}
+	${CC} ${CFLAGS} -o $@ ${CAL2BIN_OBJS}
+
+c1xx-calextr:	${CALEXTR_OBJS}
+	${CC} ${CFLAGS} -o $@ ${CALEXTR_OBJS}
 
 install:
 	mkdir -p ${INSTBIN}