FreeCalypso > hg > fc-usbser-tools
view 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 |
line wrap: on
line source
CC= gcc CFLAGS= -O2 PROGS= cp2102-read-partno LIBS= ../libuwrap/libuwrap.a INSTALL_PREFIX= /opt/freecalypso INSTBIN=${INSTALL_PREFIX}/bin all: ${PROGS} cp2102-read-partno: read_partno.o ${LIBS} ${CC} ${CFLAGS} -o $@ read_partno.o ${LIBS} -lusb install: mkdir -p ${INSTBIN} install -c ${PROGS} ${INSTBIN} clean: rm -f ${PROGS} *.o *errs *.out