comparison ft16/Makefile @ 3:19047c3302a9

ft16: add Makefile
author Mychaela Falconia <falcon@freecalypso.org>
date Thu, 29 Aug 2024 13:09:39 +0000
parents
children
comparison
equal deleted inserted replaced
2:5c18cd38c8ad 3:19047c3302a9
1 PROG= faketrau-16k
2 OBJS= dl_frames.o main.o read_ts.o record_ctrl.o subslot_rx.o tx_func.o \
3 user_cmd.o
4 HDRS= dl_frames.h globals.h submux.h
5 LIBUTIL=../libutil/libutil.a
6
7 include ../config.defs
8
9 CPPFLAGS=${OSMO_INCLUDE}
10 OSMO_LINK=${OSMO_LPATH} ${OSMO_RPATH} ${OSMO_LIBS}
11
12 all: ${PROG}
13
14 ${OBJS}: ${HDRS}
15
16 ${PROG}: ${OBJS} ${LIBUTIL}
17 ${CC} -o $@ ${OBJS} ${LIBUTIL} ${OSMO_LINK}
18
19 install:
20 mkdir -p ${DESTDIR}${bindir}
21 install -c -m 755 ${PROG} ${DESTDIR}${bindir}
22
23 clean:
24 rm -f *.o ${PROG} errs