FreeCalypso > hg > fc-usbser-tools
diff cp2102/Makefile @ 97:8d35346f1d46
cp2102 tools: accept "default" as device-selector
author | Mychaela Falconia <falcon@freecalypso.org> |
---|---|
date | Thu, 28 Sep 2023 03:26:11 +0000 |
parents | c6d04771bf6a |
children | c59011177e2e |
line wrap: on
line diff
--- a/cp2102/Makefile Thu Sep 28 02:38:59 2023 +0000 +++ b/cp2102/Makefile Thu Sep 28 03:26:11 2023 +0000 @@ -17,10 +17,13 @@ DECODE_EEDESC_OBJS= decode_usb_desc.o intel_hex_in.o PATCH_FILE_OBJS= apply_eeprom_patch.o intel_hex_in.o intel_hex_out.o \ patch_ee_file.o -READ_BAUDTAB_OBJS= decode_baudtab.o read_baudtab.o read_eeprom.o -READ_EEPROM_OBJS= intel_hex_out.o read_eeprom.o read_eeprom_main.o +READ_BAUDTAB_OBJS= decode_baudtab.o find_dev.o read_baudtab.o read_eeprom.o +READ_EEPROM_OBJS= find_dev.o intel_hex_out.o read_eeprom.o \ + read_eeprom_main.o +READ_PARTNO_OBJS= find_dev.o read_partno.o RW_TEST_OBJS= intel_hex_in.o intel_hex_out.o file_rw_test.o -WRITE_EEPROM_OBJS= intel_hex_in.o write_eeprom.o write_eeprom_main.o +WRITE_EEPROM_OBJS= find_dev.o intel_hex_in.o write_eeprom.o \ + write_eeprom_main.o all: ${PROGS} ${NOINST} @@ -39,8 +42,8 @@ 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 +cp2102-read-partno: ${READ_PARTNO_OBJS} ${LIBS} + ${CC} ${CFLAGS} -o $@ ${READ_PARTNO_OBJS} ${LIBS} -lusb cp2102-write-eeprom: ${WRITE_EEPROM_OBJS} ${LIBS} ${CC} ${CFLAGS} -o $@ ${WRITE_EEPROM_OBJS} ${LIBS} -lusb