view sw/mcsi-rx/Makefile @ 6:a10657f8024e

sw: move initflush.c module into libserial
author Mychaela Falconia <falcon@freecalypso.org>
date Sat, 12 Oct 2024 19:42:19 +0000
parents de85c3680d7e
children
line wrap: on
line source

CC=	gcc
CFLAGS=	-O2
PROG=	fc-mcsi-rx
OBJS=	main.o mainloop.o robe_out.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}