view sw/sniff-rx/Makefile @ 35:695ca51e1564

doc/Sniffer-FPGA-design: update for finished work
author Mychaela Falconia <falcon@freecalypso.org>
date Wed, 30 Aug 2023 01:09:00 +0000
parents fb9c03515832
children 7c9bf72d460f
line wrap: on
line source

CC=	gcc
CFLAGS=	-O2
PROG=	simtrace3-sniff-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}