view ffstools/caltools/Makefile @ 299:7fefa4f73c6a

c1xx-calextr: off-by-1 error in the Tx levels table conversion
author Mychaela Falconia <falcon@freecalypso.org>
date Sat, 18 Nov 2017 18:02:42 +0000
parents 79434b9de159
children f4a32c1025a2
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 mkdir.o ${LIBRFTAB}

fc-cal2bin:	${CAL2BIN_OBJS}
	${CC} ${CFLAGS} -o $@ ${CAL2BIN_OBJS}

c1xx-calextr:	${CALEXTR_OBJS}
	${CC} ${CFLAGS} -o $@ ${CALEXTR_OBJS}

mkdir.o:	../cal2text/mkdir.c
	${CC} ${CFLAGS} -c -o $@ $<

install:
	mkdir -p ${INSTBIN}
	install -c ${PROGS} ${INSTBIN}

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