view uptools/atcmd/Makefile @ 348:64dcbabd48ca

uptools/atcmd framework started
author Mychaela Falconia <falcon@freecalypso.org>
date Sun, 04 Feb 2018 18:38:20 +0000
parents
children 02d6c8469535
line wrap: on
line source

CC=	gcc
CFLAGS=	-O2
PROGS=	fcup-at
INSTBIN=/opt/freecalypso/bin

LIBCODING=	../libcoding/libcoding.a

ATCMD_OBJS=	atcmd.o atinterf.o

all:	${PROGS}

fcup-at:	${ATCMD_OBJS}
	${CC} ${CFLAGS} -o $@ ${ATCMD_OBJS}

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

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