view ffstools/cal2text/Makefile @ 164:959ff9f59568

make install added for tiaud-decomp
author Mychaela Falconia <falcon@freecalypso.org>
date Sun, 19 Mar 2017 07:59:05 +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