view smsc-daemon/Makefile @ 15:ce6bcb84ca30

doc/Proto-SMSC-testing: document written
author Mychaela Falconia <falcon@freecalypso.org>
date Sun, 27 Aug 2023 21:47:19 -0800
parents d9db8661d9f3
children
line wrap: on
line source

CC=	gcc
CFLAGS=	-O2 -pthread -I/opt/osmocni2/include -I/usr/include/samba-4.0
PROG=	proto-smsc-daemon
OBJS=	gsup_rx.o main.o record_mo.o send_mt.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}