view rvinterf/rvtat/Makefile @ 387:b61b81d3cece

fcup-settime program written, compiles, produces expected AT+CCLK command
author Mychaela Falconia <falcon@freecalypso.org>
date Sat, 10 Mar 2018 00:46:03 +0000
parents 99471c57155a
children ab8fb95a28da
line wrap: on
line source

CC=	gcc
CFLAGS=	-O2 -I../include
PROG=	fcup-rvtat
OBJS=	connect.o interf.o launchrvif.o main.o
INSTBIN=/opt/freecalypso/bin

all:	${PROG}

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

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

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