view uptools/atinterf/Makefile @ 635:d9b01a171baf

CHANGES: fc-host-tools-r12 released
author Mychaela Falconia <falcon@freecalypso.org>
date Sun, 01 Mar 2020 02:49:01 +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