view miscutil/Makefile @ 69:e109d8752d60

libgsmefr: enc_lag6.c compiles
author Mychaela Falconia <falcon@freecalypso.org>
date Sat, 26 Nov 2022 05:28:40 +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}