3
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
1 PROG= faketrau-16k
|
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
2 OBJS= dl_frames.o main.o read_ts.o record_ctrl.o subslot_rx.o tx_func.o \
|
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
3 user_cmd.o
|
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
4 HDRS= dl_frames.h globals.h submux.h
|
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
5 LIBUTIL=../libutil/libutil.a
|
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
6
|
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
7 include ../config.defs
|
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
8
|
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
9 CPPFLAGS=${OSMO_INCLUDE}
|
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
10 OSMO_LINK=${OSMO_LPATH} ${OSMO_RPATH} ${OSMO_LIBS}
|
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
11
|
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
12 all: ${PROG}
|
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
13
|
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
14 ${OBJS}: ${HDRS}
|
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
15
|
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
16 ${PROG}: ${OBJS} ${LIBUTIL}
|
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
17 ${CC} -o $@ ${OBJS} ${LIBUTIL} ${OSMO_LINK}
|
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
18
|
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
19 install:
|
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
20 mkdir -p ${DESTDIR}${bindir}
|
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
21 install -c -m 755 ${PROG} ${DESTDIR}${bindir}
|
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
22
|
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
23 clean:
|
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
24 rm -f *.o ${PROG} errs
|