view uptools/atinterf/Makefile @ 1005:9172c2c9bd3e

CHANGES: document -h target changes
author Mychaela Falconia <falcon@freecalypso.org>
date Sat, 09 Dec 2023 18:54:28 +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