comparison 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
comparison
equal deleted inserted replaced
96:c6d04771bf6a 97:8d35346f1d46
15 15
16 DECODE_BAUDTAB_OBJS= decode_baudtab.o decode_baudtab_main.o intel_hex_in.o 16 DECODE_BAUDTAB_OBJS= decode_baudtab.o decode_baudtab_main.o intel_hex_in.o
17 DECODE_EEDESC_OBJS= decode_usb_desc.o intel_hex_in.o 17 DECODE_EEDESC_OBJS= decode_usb_desc.o intel_hex_in.o
18 PATCH_FILE_OBJS= apply_eeprom_patch.o intel_hex_in.o intel_hex_out.o \ 18 PATCH_FILE_OBJS= apply_eeprom_patch.o intel_hex_in.o intel_hex_out.o \
19 patch_ee_file.o 19 patch_ee_file.o
20 READ_BAUDTAB_OBJS= decode_baudtab.o read_baudtab.o read_eeprom.o 20 READ_BAUDTAB_OBJS= decode_baudtab.o find_dev.o read_baudtab.o read_eeprom.o
21 READ_EEPROM_OBJS= intel_hex_out.o read_eeprom.o read_eeprom_main.o 21 READ_EEPROM_OBJS= find_dev.o intel_hex_out.o read_eeprom.o \
22 read_eeprom_main.o
23 READ_PARTNO_OBJS= find_dev.o read_partno.o
22 RW_TEST_OBJS= intel_hex_in.o intel_hex_out.o file_rw_test.o 24 RW_TEST_OBJS= intel_hex_in.o intel_hex_out.o file_rw_test.o
23 WRITE_EEPROM_OBJS= intel_hex_in.o write_eeprom.o write_eeprom_main.o 25 WRITE_EEPROM_OBJS= find_dev.o intel_hex_in.o write_eeprom.o \
26 write_eeprom_main.o
24 27
25 all: ${PROGS} ${NOINST} 28 all: ${PROGS} ${NOINST}
26 29
27 cp2102-decode-baudtab: ${DECODE_BAUDTAB_OBJS} 30 cp2102-decode-baudtab: ${DECODE_BAUDTAB_OBJS}
28 ${CC} ${CFLAGS} -o $@ ${DECODE_BAUDTAB_OBJS} 31 ${CC} ${CFLAGS} -o $@ ${DECODE_BAUDTAB_OBJS}
37 ${CC} ${CFLAGS} -o $@ ${READ_BAUDTAB_OBJS} ${LIBS} -lusb 40 ${CC} ${CFLAGS} -o $@ ${READ_BAUDTAB_OBJS} ${LIBS} -lusb
38 41
39 cp2102-read-eeprom: ${READ_EEPROM_OBJS} ${LIBS} 42 cp2102-read-eeprom: ${READ_EEPROM_OBJS} ${LIBS}
40 ${CC} ${CFLAGS} -o $@ ${READ_EEPROM_OBJS} ${LIBS} -lusb 43 ${CC} ${CFLAGS} -o $@ ${READ_EEPROM_OBJS} ${LIBS} -lusb
41 44
42 cp2102-read-partno: read_partno.o ${LIBS} 45 cp2102-read-partno: ${READ_PARTNO_OBJS} ${LIBS}
43 ${CC} ${CFLAGS} -o $@ read_partno.o ${LIBS} -lusb 46 ${CC} ${CFLAGS} -o $@ ${READ_PARTNO_OBJS} ${LIBS} -lusb
44 47
45 cp2102-write-eeprom: ${WRITE_EEPROM_OBJS} ${LIBS} 48 cp2102-write-eeprom: ${WRITE_EEPROM_OBJS} ${LIBS}
46 ${CC} ${CFLAGS} -o $@ ${WRITE_EEPROM_OBJS} ${LIBS} -lusb 49 ${CC} ${CFLAGS} -o $@ ${WRITE_EEPROM_OBJS} ${LIBS} -lusb
47 50
48 file_rw_test: ${RW_TEST_OBJS} 51 file_rw_test: ${RW_TEST_OBJS}