view ffstools/cal2text/Makefile @ 143:daba926cc38a

ffstools/Makefile: cal2text added
author Mychaela Falconia <falcon@freecalypso.org>
date Mon, 27 Feb 2017 03:38:07 +0000
parents d41edd329670
children 6d10869f7a1f
line wrap: on
line source

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