FreeCalypso > hg > fc-usbser-tools
view cp2102/Makefile @ 52:61cdcf2eb17b
top Makefile: add cp2102
author | Mychaela Falconia <falcon@freecalypso.org> |
---|---|
date | Mon, 11 Sep 2023 17:48:53 +0000 |
parents | a5c4a82d01ab |
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