view miscutil/Makefile @ 98:18866c0354ef

libgsmefr/dec_main.c: need to use official shl() function in order to get correct saturation
author Mychaela Falconia <falcon@freecalypso.org>
date Sat, 26 Nov 2022 21:31:58 +0000
parents edd2e20e7090
children d86f866489e9
line wrap: on
line source

CC=	gcc
CFLAGS=	-O2
PROGS=	gsmrec-dump
LIBEFR=	../libgsmefr/libgsmefr.a
LIBTEST=../libtest/libtest.a
INSTBIN=/opt/freecalypso/bin

all:	${PROGS}

gsmrec-dump:	gsmrec-dump.o ${LIBTEST} ${LIBEFR}
	${CC} ${CFLAGS} -o $@ gsmrec-dump.o ${LIBTEST} ${LIBEFR} -lgsm

install:
	mkdir -p ${INSTBIN}
	install -c ${PROGS} ${INSTBIN}

clean:
	rm -f *.o *.out ${PROGS}