FreeCalypso > hg > osmo-playpen
annotate ctrl-client/Makefile @ 22:7bfe3e21eaae default tip
top Makefile: add ctrl-client
author | Mychaela Falconia <falcon@freecalypso.org> |
---|---|
date | Sun, 17 Dec 2023 08:53:35 +0000 |
parents | 80849380395d |
children |
rev | line source |
---|---|
3
8680979baeb1
smsc-daemon: first version put together
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
1 CC= gcc |
8680979baeb1
smsc-daemon: first version put together
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
2 CFLAGS= -O2 -pthread -I/opt/osmocni2/include -I/usr/include/samba-4.0 |
21
80849380395d
osmo-ctrl-client compiles
Mychaela Falconia <falcon@freecalypso.org>
parents:
12
diff
changeset
|
3 PROG= osmo-ctrl-client |
80849380395d
osmo-ctrl-client compiles
Mychaela Falconia <falcon@freecalypso.org>
parents:
12
diff
changeset
|
4 OBJS= client.o osmo-ctrl-client.o simple_ctrl.o |
80849380395d
osmo-ctrl-client compiles
Mychaela Falconia <falcon@freecalypso.org>
parents:
12
diff
changeset
|
5 OSMOLIB=-L/opt/osmocni2/lib -Wl,-rpath,/opt/osmocni2/lib -losmonetif -losmogsm \ |
80849380395d
osmo-ctrl-client compiles
Mychaela Falconia <falcon@freecalypso.org>
parents:
12
diff
changeset
|
6 -losmocore -ltalloc |
3
8680979baeb1
smsc-daemon: first version put together
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
7 |
8680979baeb1
smsc-daemon: first version put together
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
8 all: ${PROG} |
8680979baeb1
smsc-daemon: first version put together
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
9 |
8680979baeb1
smsc-daemon: first version put together
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
10 ${PROG}: ${OBJS} |
8680979baeb1
smsc-daemon: first version put together
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
11 ${CC} -o $@ ${OBJS} ${OSMOLIB} |
8680979baeb1
smsc-daemon: first version put together
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
12 |
8680979baeb1
smsc-daemon: first version put together
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
13 clean: |
8680979baeb1
smsc-daemon: first version put together
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
14 rm -f *.o ${PROG} |