view rvinterf/rvtat/Makefile @ 467:dc2fd8e6f42c

uptools/atcmd: null pointer passing fixes
author Mychaela Falconia <falcon@freecalypso.org>
date Mon, 11 Feb 2019 22:17:46 +0000
parents ab8fb95a28da
children 1d5bd9a06781
line wrap: on
line source

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

all:	${PROG}

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

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

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