FreeCalypso > hg > fc-usbser-tools
diff cp2102/Makefile @ 53:d4d3531d342a
cp2102-read-eeprom program written, compiles
author | Mychaela Falconia <falcon@freecalypso.org> |
---|---|
date | Mon, 11 Sep 2023 18:49:07 +0000 |
parents | a5c4a82d01ab |
children | c0084bf153e5 |
line wrap: on
line diff
--- a/cp2102/Makefile Mon Sep 11 17:48:53 2023 +0000 +++ b/cp2102/Makefile Mon Sep 11 18:49:07 2023 +0000 @@ -1,14 +1,19 @@ CC= gcc CFLAGS= -O2 -PROGS= cp2102-read-partno +PROGS= cp2102-read-eeprom cp2102-read-partno LIBS= ../libuwrap/libuwrap.a INSTALL_PREFIX= /opt/freecalypso INSTBIN=${INSTALL_PREFIX}/bin +READ_EEPROM_OBJS= intel_hex_out.o read_eeprom.o read_eeprom_main.o + all: ${PROGS} +cp2102-read-eeprom: ${READ_EEPROM_OBJS} ${LIBS} + ${CC} ${CFLAGS} -o $@ ${READ_EEPROM_OBJS} ${LIBS} -lusb + cp2102-read-partno: read_partno.o ${LIBS} ${CC} ${CFLAGS} -o $@ read_partno.o ${LIBS} -lusb