view 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 source

CC=	gcc
CFLAGS=	-O2
PROGS=	c1xx-calextr fc-cal2bin
INSTBIN=/opt/freecalypso/bin

all:	${PROGS}

LIBRFTAB=	../../librftab/librftab.a

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}
	install -c ${PROGS} ${INSTBIN}

clean:
	rm -f ${PROGS} *.o *errs *.out