view libgsmhr1/Makefile @ 509:b7ddcb178ef6 default tip

add WIP:gsmhr note file
author Mychaela Falconia <falcon@freecalypso.org>
date Sat, 17 Aug 2024 23:11:51 +0000
parents 06578223a752
children
line wrap: on
line source

OBJS=	dhf_params.o enc_out_order.o mathdp31.o mathhalf.o pack_frame.o \
	rtp_in.o sid_detect.o sid_reset.o sp_rom.o twts002_in.o twts002_out.o \
	unpack_frame.o
HDRS=	enc_out_order.h mathdp31.h mathhalf.h namespace.h sp_rom.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