diff ffstools/cal2text/Makefile @ 142:d41edd329670

fc-cal2text utility written, compiles
author Mychaela Falconia <falcon@freecalypso.org>
date Mon, 27 Feb 2017 03:37:11 +0000
parents
children 6d10869f7a1f
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/ffstools/cal2text/Makefile	Mon Feb 27 03:37:11 2017 +0000
@@ -0,0 +1,20 @@
+CC=	gcc
+CFLAGS=	-O2
+PROG=	fc-cal2text
+OBJS=	dircheck.o main.o mkdir.o rftablewr.o smallconv.o
+INSTBIN=/opt/freecalypso/bin
+
+all:	${PROG}
+
+${PROG}:	${OBJS}
+	${CC} -o $@ ${OBJS}
+
+rftablewr.o:	../../rvinterf/tmsh/rftablewr.c
+	${CC} ${CFLAGS} -c -o $@ $<
+
+install:	${PROG}
+	mkdir -p ${INSTBIN}
+	install -c ${PROG} ${INSTBIN}
+
+clean:
+	rm -f ${PROG} *.o *.out *errs