view smsc-sendmt/Makefile @ 18:9c2c1444dca9

doc/Proto-SMSC-testing: OS#6135 patches have been merged
author Mychaela Falconia <falcon@freecalypso.org>
date Mon, 13 Nov 2023 12:47:12 -0800
parents 7543aa173634
children
line wrap: on
line source

CC=	gcc
CFLAGS=	-O2 -pthread -I/opt/osmocni2/include -I/usr/include/samba-4.0
PROG=	proto-smsc-sendmt
OBJS=	hexdecode.o imsi_entry.o main.o read_pdu.o smsc_addr.o
OSMOLIB=-L/opt/osmocni2/lib -Wl,-rpath,/opt/osmocni2/lib -losmogsm -losmocore

all:	${PROG}

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

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