view ffstools/cal2text/Makefile @ 754:2cd5ac909e23

fc-fsio write-battery-table replaced with write-battery-table-{v1,v2}
author Mychaela Falconia <falcon@freecalypso.org>
date Thu, 05 Nov 2020 22:32:51 +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