view libgsmefr/Makefile @ 35:3b5958f28a40

dev: efr-sid-insert helper program
author Mychaela Falconia <falcon@freecalypso.org>
date Thu, 24 Nov 2022 02:35:02 +0000
parents 69b9cbca075b
children b5726d659915
line wrap: on
line source

CC=	gcc
CFLAGS=	-O2
OBJS=	frame2params.o params2frame.o sidclass.o
LIB=	libgsmefr.a

INSTALL_PREFIX=	/usr/local

all:	${LIB}

${LIB}:	${OBJS}
	ar rcu $@ ${OBJS}
	ranlib $@

install:
	mkdir -p ${INSTALL_PREFIX}/include
	install -c -m 444 gsm_efr.h ${INSTALL_PREFIX}/include
	mkdir -p ${INSTALL_PREFIX}/lib
	install -c -m 444 ${LIB} ${INSTALL_PREFIX}/lib

clean:
	rm -f *.[oa] errs