view sw/mcsi-rxtx/Makefile @ 10:c1d9b5d128f5

fc-mcsi-rxtx: implement print-rx command
author Mychaela Falconia <falcon@freecalypso.org>
date Mon, 28 Oct 2024 06:11:23 +0000
parents 8a386263dd51
children e93a11f44e6f
line wrap: on
line source

CC=	gcc
CFLAGS=	-O2
PROG=	fc-mcsi-rxtx
OBJS=	main.o mainloop.o rx_samples.o ttymagic.o usercmd.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}