view sw/mcsi-rxtx/Makefile @ 13:315428573a25

fc-mcsi-rxtx: implement record function
author Mychaela Falconia <falcon@freecalypso.org>
date Mon, 28 Oct 2024 07:24:53 +0000
parents e93a11f44e6f
children
line wrap: on
line source

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