annotate euse-demo/Makefile @ 7:22ddb71f6883

smsc-daemon: convert to setting IPA name on the command line
author Mychaela Falconia <falcon@freecalypso.org>
date Fri, 25 Aug 2023 14:47:24 -0800
parents 5cbd37c9b68b
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
d87e6dbd32c2 osmo-euse-demo compiles and links
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
1 CC= gcc
d87e6dbd32c2 osmo-euse-demo compiles and links
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
2 CFLAGS= -O2 -pthread -I/opt/osmocni2/include -I/usr/include/samba-4.0
d87e6dbd32c2 osmo-euse-demo compiles and links
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
3 PROG= osmo-euse-demo
d87e6dbd32c2 osmo-euse-demo compiles and links
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
4 OBJS= osmo-euse-demo.o
1
5cbd37c9b68b euse-demo/Makefile: black magic to find shared libs at run time
Mychaela Falconia <falcon@freecalypso.org>
parents: 0
diff changeset
5 OSMOLIB=-L/opt/osmocni2/lib -Wl,-rpath,/opt/osmocni2/lib -losmo-gsup-client \
5cbd37c9b68b euse-demo/Makefile: black magic to find shared libs at run time
Mychaela Falconia <falcon@freecalypso.org>
parents: 0
diff changeset
6 -losmogsm -losmocore -ltalloc
0
d87e6dbd32c2 osmo-euse-demo compiles and links
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
7
d87e6dbd32c2 osmo-euse-demo compiles and links
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
8 all: ${PROG}
d87e6dbd32c2 osmo-euse-demo compiles and links
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
9
d87e6dbd32c2 osmo-euse-demo compiles and links
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
10 ${PROG}: ${OBJS}
d87e6dbd32c2 osmo-euse-demo compiles and links
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
11 ${CC} -o $@ ${OBJS} ${OSMOLIB}
d87e6dbd32c2 osmo-euse-demo compiles and links
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
12
d87e6dbd32c2 osmo-euse-demo compiles and links
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
13 clean:
d87e6dbd32c2 osmo-euse-demo compiles and links
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
14 rm -f *.o ${PROG}