annotate src/Makefile @ 14:073b8c7b361f

twjit: port over vty config module
author Mychaela Falconia <falcon@freecalypso.org>
date Sat, 06 Jul 2024 17:32:26 +0000
parents 19367028cc6e
children 2a24487453a7
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
14
073b8c7b361f twjit: port over vty config module
Mychaela Falconia <falcon@freecalypso.org>
parents: 13
diff changeset
1 OBJS= twjit.o twjit_in.o twjit_out.o twjit_vty.o
3
d10ea5dc61b3 twjit: initial import from previous work repository
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
2 LIB= libtwrtp.a
d10ea5dc61b3 twjit: initial import from previous work repository
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
3
d10ea5dc61b3 twjit: initial import from previous work repository
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
4 include ../config.defs
d10ea5dc61b3 twjit: initial import from previous work repository
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
5
13
19367028cc6e src/Makefile: list -I../build-inc first
Mychaela Falconia <falcon@freecalypso.org>
parents: 7
diff changeset
6 CPPFLAGS=-I../build-inc ${OSMO_INCLUDE}
7
32cb5a2d1178 src/Makefile: add dependency on actively changing twjit.h
Mychaela Falconia <falcon@freecalypso.org>
parents: 5
diff changeset
7 HDRS= ../include/twjit.h
3
d10ea5dc61b3 twjit: initial import from previous work repository
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
8
d10ea5dc61b3 twjit: initial import from previous work repository
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
9 all: ${LIB}
d10ea5dc61b3 twjit: initial import from previous work repository
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
10
7
32cb5a2d1178 src/Makefile: add dependency on actively changing twjit.h
Mychaela Falconia <falcon@freecalypso.org>
parents: 5
diff changeset
11 ${OBJS}: ${HDRS}
32cb5a2d1178 src/Makefile: add dependency on actively changing twjit.h
Mychaela Falconia <falcon@freecalypso.org>
parents: 5
diff changeset
12
3
d10ea5dc61b3 twjit: initial import from previous work repository
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
13 ${LIB}: ${OBJS}
d10ea5dc61b3 twjit: initial import from previous work repository
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
14 ar rcu $@ ${OBJS}
d10ea5dc61b3 twjit: initial import from previous work repository
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
15 ranlib $@
d10ea5dc61b3 twjit: initial import from previous work repository
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
16
d10ea5dc61b3 twjit: initial import from previous work repository
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
17 clean:
d10ea5dc61b3 twjit: initial import from previous work repository
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
18 rm -f *.[oa] errs