diff ctrl-client/Makefile @ 21:80849380395d

osmo-ctrl-client compiles
author Mychaela Falconia <falcon@freecalypso.org>
date Sun, 17 Dec 2023 08:53:02 +0000
parents smsc-sendmt/Makefile@7543aa173634
children
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/ctrl-client/Makefile	Sun Dec 17 08:53:02 2023 +0000
@@ -0,0 +1,14 @@
+CC=	gcc
+CFLAGS=	-O2 -pthread -I/opt/osmocni2/include -I/usr/include/samba-4.0
+PROG=	osmo-ctrl-client
+OBJS=	client.o osmo-ctrl-client.o simple_ctrl.o
+OSMOLIB=-L/opt/osmocni2/lib -Wl,-rpath,/opt/osmocni2/lib -losmonetif -losmogsm \
+	-losmocore -ltalloc
+
+all:	${PROG}
+
+${PROG}:	${OBJS}
+	${CC} -o $@ ${OBJS} ${OSMOLIB}
+
+clean:
+	rm -f *.o ${PROG}