FreeCalypso > hg > osmo-playpen
comparison euse-demo/Makefile @ 1:5cbd37c9b68b
euse-demo/Makefile: black magic to find shared libs at run time
author | Mychaela Falconia <falcon@freecalypso.org> |
---|---|
date | Tue, 01 Aug 2023 17:22:11 -0800 |
parents | d87e6dbd32c2 |
children |
comparison
equal
deleted
inserted
replaced
0:d87e6dbd32c2 | 1:5cbd37c9b68b |
---|---|
1 CC= gcc | 1 CC= gcc |
2 CFLAGS= -O2 -pthread -I/opt/osmocni2/include -I/usr/include/samba-4.0 | 2 CFLAGS= -O2 -pthread -I/opt/osmocni2/include -I/usr/include/samba-4.0 |
3 PROG= osmo-euse-demo | 3 PROG= osmo-euse-demo |
4 OBJS= osmo-euse-demo.o | 4 OBJS= osmo-euse-demo.o |
5 OSMOLIB=-L/opt/osmocni2/lib -losmo-gsup-client -losmogsm -losmocore -ltalloc | 5 OSMOLIB=-L/opt/osmocni2/lib -Wl,-rpath,/opt/osmocni2/lib -losmo-gsup-client \ |
6 -losmogsm -losmocore -ltalloc | |
6 | 7 |
7 all: ${PROG} | 8 all: ${PROG} |
8 | 9 |
9 ${PROG}: ${OBJS} | 10 ${PROG}: ${OBJS} |
10 ${CC} -o $@ ${OBJS} ${OSMOLIB} | 11 ${CC} -o $@ ${OBJS} ${OSMOLIB} |