view ffstools/cal2text/Makefile @ 703:ff3d8167fa94

doc/Target-utils: lunadrv documented
author Mychaela Falconia <falcon@freecalypso.org>
date Thu, 07 May 2020 03:18:44 +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