comparison 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
comparison
equal deleted inserted replaced
2:a4918a161d2e 3:de85c3680d7e
1 CC= gcc
2 CFLAGS= -O2
3 PROG= fc-mcsi-rx
4 OBJS= initflush.o main.o mainloop.o robe_out.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}