annotate ft16/Makefile @ 3:19047c3302a9

ft16: add Makefile
author Mychaela Falconia <falcon@freecalypso.org>
date Thu, 29 Aug 2024 13:09:39 +0000
parents
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
3
19047c3302a9 ft16: add Makefile
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
1 PROG= faketrau-16k
19047c3302a9 ft16: add Makefile
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 \
19047c3302a9 ft16: add Makefile
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
3 user_cmd.o
19047c3302a9 ft16: add Makefile
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
4 HDRS= dl_frames.h globals.h submux.h
19047c3302a9 ft16: add Makefile
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
5 LIBUTIL=../libutil/libutil.a
19047c3302a9 ft16: add Makefile
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
6
19047c3302a9 ft16: add Makefile
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
7 include ../config.defs
19047c3302a9 ft16: add Makefile
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
8
19047c3302a9 ft16: add Makefile
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
9 CPPFLAGS=${OSMO_INCLUDE}
19047c3302a9 ft16: add Makefile
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
10 OSMO_LINK=${OSMO_LPATH} ${OSMO_RPATH} ${OSMO_LIBS}
19047c3302a9 ft16: add Makefile
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
11
19047c3302a9 ft16: add Makefile
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
12 all: ${PROG}
19047c3302a9 ft16: add Makefile
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
13
19047c3302a9 ft16: add Makefile
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
14 ${OBJS}: ${HDRS}
19047c3302a9 ft16: add Makefile
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
15
19047c3302a9 ft16: add Makefile
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
16 ${PROG}: ${OBJS} ${LIBUTIL}
19047c3302a9 ft16: add Makefile
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
17 ${CC} -o $@ ${OBJS} ${LIBUTIL} ${OSMO_LINK}
19047c3302a9 ft16: add Makefile
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
18
19047c3302a9 ft16: add Makefile
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
19 install:
19047c3302a9 ft16: add Makefile
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
20 mkdir -p ${DESTDIR}${bindir}
19047c3302a9 ft16: add Makefile
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
21 install -c -m 755 ${PROG} ${DESTDIR}${bindir}
19047c3302a9 ft16: add Makefile
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
22
19047c3302a9 ft16: add Makefile
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
23 clean:
19047c3302a9 ft16: add Makefile
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
24 rm -f *.o ${PROG} errs