diff libgsmefr/Makefile @ 31:19a90fa1f608

libgsmefr: implement SID classification
author Mychaela Falconia <falcon@freecalypso.org>
date Wed, 23 Nov 2022 08:40:08 +0000
parents libgsmfrp/Makefile@3db7af1249cb
children 88468d5b3590
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/libgsmefr/Makefile	Wed Nov 23 08:40:08 2022 +0000
@@ -0,0 +1,21 @@
+CC=	gcc
+CFLAGS=	-O2
+OBJS=	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