view ffstools/caltools/Makefile @ 293:f8eac2de9a5c

ffstools/Makefile: caltools added to SUBDIR
author Mychaela Falconia <falcon@freecalypso.org>
date Sat, 18 Nov 2017 07:39:23 +0000
parents 0af5009bd52f
children 1416fe200069
line wrap: on
line source

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