comparison pcm/Makefile @ 2:c03ec046471f

pcm: initial version compiles and links
author Mychaela Falconia <falcon@freecalypso.org>
date Sun, 23 Jun 2024 08:35:46 +0000
parents
children 7233c10af3ad
comparison
equal deleted inserted replaced
1:570252e22630 2:c03ec046471f
1 PROG= itt-pcm-one
2 OBJS= main.o read_ts.o
3 LIBUTIL=../libutil/libutil.a
4
5 include ../config.defs
6
7 CPPFLAGS=${OSMO_INCLUDE}
8 OSMO_LINK=${OSMO_LPATH} ${OSMO_RPATH} ${OSMO_LIBS}
9
10 all: ${PROG}
11
12 ${PROG}: ${OBJS} ${LIBUTIL}
13 ${CC} -o $@ ${OBJS} ${LIBUTIL} ${OSMO_LINK}
14
15 install:
16 mkdir -p ${DESTDIR}${bindir}
17 install -c -m 755 ${PROG} ${DESTDIR}${bindir}
18
19 clean:
20 rm -f *.o ${PROG} errs