view uptools/atinterf/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 90d7c360a614
children
line wrap: on
line source

CC=	gcc
CFLAGS=	-O2
PROG=	fcup-atinterf
LIB=	../../libserial/libserial.a
OBJS=	${PROG}.o ${LIB}

INSTALL_PREFIX=	/opt/freecalypso

INSTBIN=${INSTALL_PREFIX}/bin

all:	${PROG}

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

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

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