comparison cp2102/Makefile @ 50:a5c4a82d01ab

cp2102-read-partno program written, compiles
author Mychaela Falconia <falcon@freecalypso.org>
date Mon, 11 Sep 2023 17:41:24 +0000
parents
children d4d3531d342a
comparison
equal deleted inserted replaced
49:9ca4f9fa415b 50:a5c4a82d01ab
1 CC= gcc
2 CFLAGS= -O2
3 PROGS= cp2102-read-partno
4 LIBS= ../libuwrap/libuwrap.a
5
6 INSTALL_PREFIX= /opt/freecalypso
7
8 INSTBIN=${INSTALL_PREFIX}/bin
9
10 all: ${PROGS}
11
12 cp2102-read-partno: read_partno.o ${LIBS}
13 ${CC} ${CFLAGS} -o $@ read_partno.o ${LIBS} -lusb
14
15 install:
16 mkdir -p ${INSTBIN}
17 install -c ${PROGS} ${INSTBIN}
18
19 clean:
20 rm -f ${PROGS} *.o *errs *.out