annotate euse-demo/Makefile @ 0:d87e6dbd32c2

osmo-euse-demo compiles and links
author Mychaela Falconia <falcon@freecalypso.org>
date Tue, 01 Aug 2023 17:14:37 -0800
parents
children 5cbd37c9b68b
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
d87e6dbd32c2 osmo-euse-demo compiles and links
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
5 OSMOLIB=-L/opt/osmocni2/lib -losmo-gsup-client -losmogsm -losmocore -ltalloc
d87e6dbd32c2 osmo-euse-demo compiles and links
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
6
d87e6dbd32c2 osmo-euse-demo compiles and links
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
7 all: ${PROG}
d87e6dbd32c2 osmo-euse-demo compiles and links
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
8
d87e6dbd32c2 osmo-euse-demo compiles and links
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
9 ${PROG}: ${OBJS}
d87e6dbd32c2 osmo-euse-demo compiles and links
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
10 ${CC} -o $@ ${OBJS} ${OSMOLIB}
d87e6dbd32c2 osmo-euse-demo compiles and links
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
11
d87e6dbd32c2 osmo-euse-demo compiles and links
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
12 clean:
d87e6dbd32c2 osmo-euse-demo compiles and links
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
13 rm -f *.o ${PROG}