view euse-demo/Makefile @ 11:44148d13283c

add top level Makefile
author Mychaela Falconia <falcon@freecalypso.org>
date Sun, 27 Aug 2023 13:39:51 -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}