annotate mtctest/Makefile @ 8:a902ccbf6bbc

mtctest: introduce general user command structure
author Mychaela Falconia <falcon@freecalypso.org>
date Sun, 09 Jun 2024 02:48:55 +0000
parents 33d8b3177540
children 395c56969bc4
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
3
847690ea7f4a mncc compiles in new environment
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
1 CPPFLAGS=-I${includedir}
6
33d8b3177540 mtctest compiles in the new environment
Mychaela Falconia <falcon@freecalypso.org>
parents: 3
diff changeset
2 PROG= themwi-test-mtc
8
a902ccbf6bbc mtctest: introduce general user command structure
Mychaela Falconia <falcon@freecalypso.org>
parents: 6
diff changeset
3 OBJS= disconnect.o main.o rtp_sink.o setup.o sig_handler.o sock_conn.o \
a902ccbf6bbc mtctest: introduce general user command structure
Mychaela Falconia <falcon@freecalypso.org>
parents: 6
diff changeset
4 user_cmd.o
3
847690ea7f4a mncc compiles in new environment
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
5 LIBUTIL=../libutil/libutil.a
847690ea7f4a mncc compiles in new environment
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
6
847690ea7f4a mncc compiles in new environment
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
7 include ../config.defs
847690ea7f4a mncc compiles in new environment
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
8
847690ea7f4a mncc compiles in new environment
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
9 all: ${PROG}
847690ea7f4a mncc compiles in new environment
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
10
847690ea7f4a mncc compiles in new environment
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
11 ${PROG}: ${OBJS} ${LIBUTIL}
6
33d8b3177540 mtctest compiles in the new environment
Mychaela Falconia <falcon@freecalypso.org>
parents: 3
diff changeset
12 ${CC} -o $@ ${OBJS} ${LIBUTIL} -L${libdir} -lrtpalloc -lnumdb -lnumutil
3
847690ea7f4a mncc compiles in new environment
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
13
847690ea7f4a mncc compiles in new environment
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
14 install:
847690ea7f4a mncc compiles in new environment
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
15 mkdir -p ${DESTDIR}${bindir}
847690ea7f4a mncc compiles in new environment
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
16 install -c -m 755 ${PROG} ${DESTDIR}${bindir}
847690ea7f4a mncc compiles in new environment
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
17
847690ea7f4a mncc compiles in new environment
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
18 clean:
847690ea7f4a mncc compiles in new environment
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
19 rm -f *.o ${PROG} errs