view ffstools/cal2text/Makefile @ 896:0a2f50c571de

CHANGES: fc-buzplay basic 'play' command extension
author Mychaela Falconia <falcon@freecalypso.org>
date Sun, 03 Apr 2022 08:41:34 +0000
parents b73c21a2148f
children
line wrap: on
line source

CC=	gcc
CFLAGS=	-O2
PROG=	fc-cal2text
OBJS=	dircheck.o main.o mkdir.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