comparison abis/Makefile @ 30:5dd30224b70a

abis: starting new program
author Mychaela Falconia <falcon@freecalypso.org>
date Tue, 13 Aug 2024 21:38:55 +0000
parents ater/Makefile@2742dbea95f1
children
comparison
equal deleted inserted replaced
29:1dda11905e85 30:5dd30224b70a
1 PROG= itt-abis-16
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