view ffstools/caltools/Makefile @ 431:579441d7dcd8

doc/TIFFS-Overview: long-overdue update for the current state of FC
author Mychaela Falconia <falcon@freecalypso.org>
date Sun, 04 Nov 2018 02:00:03 +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