view 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 source

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=	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}
	ar rcu $@ ${OBJS}
	ranlib $@

install:
#	mkdir -p ${DESTDIR}${includedir}
#	install -c -m 444 tw_gsmhr.h ${DESTDIR}${includedir}
#	mkdir -p ${DESTDIR}${libdir}
#	install -c -m 444 ${LIB} ${DESTDIR}${libdir}

clean:
	rm -f *.[oa] namespace.h errs