diff gen/Makefile @ 7:a33d4d8079d2

ota-set-msisdn utility written, compiles
author Mychaela Falconia <falcon@freecalypso.org>
date Mon, 22 Feb 2021 01:00:39 +0000
parents
children 2c022e0334c4
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/gen/Makefile	Mon Feb 22 01:00:39 2021 +0000
@@ -0,0 +1,17 @@
+CC=	gcc
+CFLAGS=	-O2
+PROGS=	ota-set-msisdn
+LIBS=	../libutil/libutil.a
+INSTBIN=/opt/freecalypso/bin
+
+all:	${PROGS}
+
+ota-set-msisdn:	ota-set-msisdn.o ${LIBS}
+	${CC} ${CFLAGS} -o $@ $@.o ${LIBS}
+
+install:
+	mkdir -p ${INSTBIN}
+	install -c ${PROGS} ${INSTBIN}
+
+clean:
+	rm -f ${PROGS} *.o