FreeCalypso > hg > themwi-interim
annotate mtctest/Makefile @ 7:d0b86b144577
top Makefile: add mtctest
author | Mychaela Falconia <falcon@freecalypso.org> |
---|---|
date | Sun, 09 Jun 2024 01:56:27 +0000 |
parents | 33d8b3177540 |
children | a902ccbf6bbc |
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 |
33d8b3177540
mtctest compiles in the new environment
Mychaela Falconia <falcon@freecalypso.org>
parents:
3
diff
changeset
|
3 OBJS= disconnect.o main.o rtp_sink.o setup.o sig_handler.o sock_conn.o |
3
847690ea7f4a
mncc compiles in new environment
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
4 LIBUTIL=../libutil/libutil.a |
847690ea7f4a
mncc compiles in new environment
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
5 |
847690ea7f4a
mncc compiles in new environment
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
6 include ../config.defs |
847690ea7f4a
mncc compiles in new environment
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
7 |
847690ea7f4a
mncc compiles in new environment
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
8 all: ${PROG} |
847690ea7f4a
mncc compiles in new environment
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
9 |
847690ea7f4a
mncc compiles in new environment
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
10 ${PROG}: ${OBJS} ${LIBUTIL} |
6
33d8b3177540
mtctest compiles in the new environment
Mychaela Falconia <falcon@freecalypso.org>
parents:
3
diff
changeset
|
11 ${CC} -o $@ ${OBJS} ${LIBUTIL} -L${libdir} -lrtpalloc -lnumdb -lnumutil |
3
847690ea7f4a
mncc compiles in new environment
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
12 |
847690ea7f4a
mncc compiles in new environment
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
13 install: |
847690ea7f4a
mncc compiles in new environment
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
14 mkdir -p ${DESTDIR}${bindir} |
847690ea7f4a
mncc compiles in new environment
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
15 install -c -m 755 ${PROG} ${DESTDIR}${bindir} |
847690ea7f4a
mncc compiles in new environment
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
16 |
847690ea7f4a
mncc compiles in new environment
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
17 clean: |
847690ea7f4a
mncc compiles in new environment
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
18 rm -f *.o ${PROG} errs |