view ffstools/cal2text/Makefile @ 227:6616f4e35579

fc-loadtool: exec command now looks for scripts in the current directory
author Mychaela Falconia <falcon@freecalypso.org>
date Thu, 03 Aug 2017 01:21:45 +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