view ffstools/cal2text/Makefile @ 586:f3af56eac3f4

doc/Loadtools-usage: -P option instead of -n
author Mychaela Falconia <falcon@freecalypso.org>
date Mon, 03 Feb 2020 07:51:11 +0000
parents 90d7c360a614
children b73c21a2148f
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

INSTALL_PREFIX=	/opt/freecalypso

INSTBIN=${INSTALL_PREFIX}/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