FreeCalypso > hg > fc-usbser-tools
comparison cp2102/Makefile @ 85:0787525a33e2
cp2102-decode-ee-desc program started
author | Mychaela Falconia <falcon@freecalypso.org> |
---|---|
date | Wed, 27 Sep 2023 18:43:14 +0000 |
parents | f5db4e03efb2 |
children | 915a6fa7723e |
comparison
equal
deleted
inserted
replaced
84:b36397a56bda | 85:0787525a33e2 |
---|---|
1 CC= gcc | 1 CC= gcc |
2 CFLAGS= -O2 | 2 CFLAGS= -O2 |
3 PROGS= cp2102-decode-baudtab cp2102-read-baudtab cp2102-read-eeprom \ | 3 PROGS= cp2102-decode-baudtab cp2102-decode-ee-desc cp2102-read-baudtab \ |
4 cp2102-read-partno | 4 cp2102-read-eeprom cp2102-read-partno |
5 NOINST= file_rw_test | 5 NOINST= file_rw_test |
6 LIBS= ../libuwrap/libuwrap.a | 6 LIBS= ../libuwrap/libuwrap.a |
7 | 7 |
8 INST_FILES= baudtab-gsm baudtab-std | 8 INST_FILES= baudtab-gsm baudtab-std |
9 | 9 |
11 | 11 |
12 INSTBIN=${INSTALL_PREFIX}/bin | 12 INSTBIN=${INSTALL_PREFIX}/bin |
13 INSTDAT=${INSTALL_PREFIX}/cp2102 | 13 INSTDAT=${INSTALL_PREFIX}/cp2102 |
14 | 14 |
15 DECODE_BAUDTAB_OBJS= decode_baudtab.o decode_baudtab_main.o intel_hex_in.o | 15 DECODE_BAUDTAB_OBJS= decode_baudtab.o decode_baudtab_main.o intel_hex_in.o |
16 DECODE_EEDESC_OBJS= decode_usb_desc.o intel_hex_in.o | |
16 READ_BAUDTAB_OBJS= decode_baudtab.o read_baudtab.o read_eeprom.o | 17 READ_BAUDTAB_OBJS= decode_baudtab.o read_baudtab.o read_eeprom.o |
17 READ_EEPROM_OBJS= intel_hex_out.o read_eeprom.o read_eeprom_main.o | 18 READ_EEPROM_OBJS= intel_hex_out.o read_eeprom.o read_eeprom_main.o |
18 RW_TEST_OBJS= intel_hex_in.o intel_hex_out.o file_rw_test.o | 19 RW_TEST_OBJS= intel_hex_in.o intel_hex_out.o file_rw_test.o |
19 | 20 |
20 all: ${PROGS} ${NOINST} | 21 all: ${PROGS} ${NOINST} |
21 | 22 |
22 cp2102-decode-baudtab: ${DECODE_BAUDTAB_OBJS} | 23 cp2102-decode-baudtab: ${DECODE_BAUDTAB_OBJS} |
23 ${CC} ${CFLAGS} -o $@ ${DECODE_BAUDTAB_OBJS} | 24 ${CC} ${CFLAGS} -o $@ ${DECODE_BAUDTAB_OBJS} |
25 | |
26 cp2102-decode-ee-desc: ${DECODE_EEDESC_OBJS} | |
27 ${CC} ${CFLAGS} -o $@ ${DECODE_EEDESC_OBJS} | |
24 | 28 |
25 cp2102-read-baudtab: ${READ_BAUDTAB_OBJS} ${LIBS} | 29 cp2102-read-baudtab: ${READ_BAUDTAB_OBJS} ${LIBS} |
26 ${CC} ${CFLAGS} -o $@ ${READ_BAUDTAB_OBJS} ${LIBS} -lusb | 30 ${CC} ${CFLAGS} -o $@ ${READ_BAUDTAB_OBJS} ${LIBS} -lusb |
27 | 31 |
28 cp2102-read-eeprom: ${READ_EEPROM_OBJS} ${LIBS} | 32 cp2102-read-eeprom: ${READ_EEPROM_OBJS} ${LIBS} |