FreeCalypso > hg > fc-pcm-if
diff sw/mcsi-rx/Makefile @ 3:de85c3680d7e
sw: fc-mcsi-rx program put together
author | Mychaela Falconia <falcon@freecalypso.org> |
---|---|
date | Fri, 11 Oct 2024 23:54:39 +0000 |
parents | |
children | a10657f8024e |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/sw/mcsi-rx/Makefile Fri Oct 11 23:54:39 2024 +0000 @@ -0,0 +1,21 @@ +CC= gcc +CFLAGS= -O2 +PROG= fc-mcsi-rx +OBJS= initflush.o 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}