diff ffstools/caltools/Makefile @ 292:0af5009bd52f

fc-cal2bin written, compiles
author Mychaela Falconia <falcon@freecalypso.org>
date Sat, 18 Nov 2017 07:38:36 +0000
parents
children 1416fe200069
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/ffstools/caltools/Makefile	Sat Nov 18 07:38:36 2017 +0000
@@ -0,0 +1,18 @@
+CC=	gcc
+CFLAGS=	-O2
+PROGS=	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}
+
+install:
+	mkdir -p ${INSTBIN}
+	install -c ${PROGS} ${INSTBIN}
+
+clean:
+	rm -f ${PROGS} *.o *errs *.out