view ffstools/cal2text/Makefile @ 445:6b20d68a2a88

target-utils/Makefile: calversion added to standard set
author Mychaela Falconia <falcon@freecalypso.org>
date Sat, 29 Dec 2018 05:46:22 +0000
parents 6d10869f7a1f
children 90d7c360a614
line wrap: on
line source

CC=	gcc
CFLAGS=	-O2
PROG=	fc-cal2text
OBJS=	dircheck.o main.o mkdir.o smallconv.o
LIBS=	../../librftab/librftab.a
INSTBIN=/opt/freecalypso/bin

all:	${PROG}

${PROG}:	${OBJS} ${LIBS}
	${CC} -o $@ ${OBJS} ${LIBS}

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

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