comparison libgsmhr1/Makefile @ 502:b0333fa167c3

libgsmhr1: compile mathhalf.c
author Mychaela Falconia <falcon@freecalypso.org>
date Wed, 19 Jun 2024 01:06:28 +0000
parents af70bf42eb1b
children 024615de06fe
comparison
equal deleted inserted replaced
501:597b39aef484 502:b0333fa167c3
1 OBJS= dhf_params.o pack_frame.o rtp_in.o sid_detect.o sid_reset.o \ 1 OBJS= dhf_params.o mathhalf.o pack_frame.o rtp_in.o sid_detect.o sid_reset.o \
2 twts002_in.o twts002_out.o unpack_frame.o 2 twts002_in.o twts002_out.o unpack_frame.o
3 HDRS= tw_gsmhr.h 3 HDRS= mathhalf.h namespace.h tw_gsmhr.h typedefs.h
4 LIB= libgsmhr1.a 4 LIB= libgsmhr1.a
5 5
6 include ../config.defs 6 include ../config.defs
7 7
8 all: ${LIB} 8 all: ${LIB}
9
10 namespace.h: namespace.awk namespace.list
11 awk -f namespace.awk namespace.list > $@
9 12
10 ${OBJS}: ${HDRS} 13 ${OBJS}: ${HDRS}
11 14
12 ${LIB}: ${OBJS} 15 ${LIB}: ${OBJS}
13 ar rcu $@ ${OBJS} 16 ar rcu $@ ${OBJS}
18 # install -c -m 444 tw_gsmhr.h ${DESTDIR}${includedir} 21 # install -c -m 444 tw_gsmhr.h ${DESTDIR}${includedir}
19 # mkdir -p ${DESTDIR}${libdir} 22 # mkdir -p ${DESTDIR}${libdir}
20 # install -c -m 444 ${LIB} ${DESTDIR}${libdir} 23 # install -c -m 444 ${LIB} ${DESTDIR}${libdir}
21 24
22 clean: 25 clean:
23 rm -f *.[oa] errs 26 rm -f *.[oa] namespace.h errs