view miscutil/Makefile @ 23:baadb1cb744d

new debug utility gsmrec-dump
author Mychaela Falconia <falcon@freecalypso.org>
date Sun, 20 Nov 2022 08:05:32 +0000
parents frtest/Makefile@7960744ba19c
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}