view euse-demo/Makefile @ 5:cef4677a4cf8

smsc-daemon: the starting program is called osmo-euse-demo
author Mychaela Falconia <falcon@freecalypso.org>
date Fri, 25 Aug 2023 14:07:41 -0800
parents 5cbd37c9b68b
children
line wrap: on
line source

CC=	gcc
CFLAGS=	-O2 -pthread -I/opt/osmocni2/include -I/usr/include/samba-4.0
PROG=	osmo-euse-demo
OBJS=	osmo-euse-demo.o
OSMOLIB=-L/opt/osmocni2/lib -Wl,-rpath,/opt/osmocni2/lib -losmo-gsup-client \
	-losmogsm -losmocore -ltalloc

all:	${PROG}

${PROG}:	${OBJS}
	${CC} -o $@ ${OBJS} ${OSMOLIB}

clean:
	rm -f *.o ${PROG}