diff 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 diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/uptools/atcmd/Makefile	Sun Feb 04 18:38:20 2018 +0000
@@ -0,0 +1,20 @@
+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}