view miscutil/Makefile @ 68:aacdf352576c

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