FreeCalypso > hg > fc-pcm-if
comparison sw/mcsi-rxtx/Makefile @ 7:8a386263dd51
fc-mcsi-rxtx skeleton put together
| author | Mychaela Falconia <falcon@freecalypso.org> |
|---|---|
| date | Mon, 28 Oct 2024 01:44:28 +0000 |
| parents | sw/mcsi-rx/Makefile@a10657f8024e |
| children | e93a11f44e6f |
comparison
equal
deleted
inserted
replaced
| 6:a10657f8024e | 7:8a386263dd51 |
|---|---|
| 1 CC= gcc | |
| 2 CFLAGS= -O2 | |
| 3 PROG= fc-mcsi-rxtx | |
| 4 OBJS= main.o mainloop.o rx_samples.o ttymagic.o usercmd.o | |
| 5 LIBS= ../libserial/libserial.a | |
| 6 | |
| 7 INSTALL_PREFIX= /opt/freecalypso | |
| 8 | |
| 9 INSTBIN=${INSTALL_PREFIX}/bin | |
| 10 | |
| 11 all: ${PROG} | |
| 12 | |
| 13 ${PROG}: ${OBJS} ${LIBS} | |
| 14 ${CC} ${CFLAGS} -o $@ ${OBJS} ${LIBS} | |
| 15 | |
| 16 install: | |
| 17 mkdir -p ${INSTBIN} | |
| 18 install -c ${PROG} ${INSTBIN} | |
| 19 | |
| 20 clean: | |
| 21 rm -f *.o ${PROG} |
