view miscutil/Makefile @ 29:d21c68b8f16c

gsmfr-hand-test: yet another debug aid
author Mychaela Falconia <falcon@freecalypso.org>
date Mon, 21 Nov 2022 03:09:39 +0000
parents baadb1cb744d
children edd2e20e7090
line wrap: on
line source

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

all:	${PROGS}

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

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

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