diff 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
line wrap: on
line diff
--- a/libgsmhr1/Makefile	Wed Jun 19 00:54:44 2024 +0000
+++ b/libgsmhr1/Makefile	Wed Jun 19 01:06:28 2024 +0000
@@ -1,12 +1,15 @@
-OBJS=	dhf_params.o pack_frame.o rtp_in.o sid_detect.o sid_reset.o \
+OBJS=	dhf_params.o mathhalf.o pack_frame.o rtp_in.o sid_detect.o sid_reset.o \
 	twts002_in.o twts002_out.o unpack_frame.o
-HDRS=	tw_gsmhr.h
+HDRS=	mathhalf.h namespace.h tw_gsmhr.h typedefs.h
 LIB=	libgsmhr1.a
 
 include ../config.defs
 
 all:	${LIB}
 
+namespace.h:	namespace.awk namespace.list
+	awk -f namespace.awk namespace.list > $@
+
 ${OBJS}:	${HDRS}
 
 ${LIB}:	${OBJS}
@@ -20,4 +23,4 @@
 #	install -c -m 444 ${LIB} ${DESTDIR}${libdir}
 
 clean:
-	rm -f *.[oa] errs
+	rm -f *.[oa] namespace.h errs