view sw/sniff-rx/Makefile @ 57:eb4274e7f4da

simsniff-dec: decode SELECT file IDs
author Mychaela Falconia <falcon@freecalypso.org>
date Wed, 04 Oct 2023 03:54:00 +0000
parents 7c9bf72d460f
children
line wrap: on
line source

CC=	gcc
CFLAGS=	-O2
PROG=	simsniff-rx
OBJS=	byteproc.o datetime.o initflush.o main.o mainloop.o
LIBS=	../libserial/libserial.a

INSTALL_PREFIX=	/opt/freecalypso

INSTBIN=${INSTALL_PREFIX}/bin

all:	${PROG}

${PROG}:	${OBJS} ${LIBS}
	${CC} ${CFLAGS} -o $@ ${OBJS} ${LIBS}

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

clean:
	rm -f *.o ${PROG}