FreeCalypso > hg > fc-usbser-tools
comparison cp2102/Makefile @ 92:915a6fa7723e
cp2102-patch-ee-image program written, compiles
author | Mychaela Falconia <falcon@freecalypso.org> |
---|---|
date | Thu, 28 Sep 2023 01:37:43 +0000 |
parents | 0787525a33e2 |
children | c6d04771bf6a |
comparison
equal
deleted
inserted
replaced
91:f4a7ac90cf39 | 92:915a6fa7723e |
---|---|
1 CC= gcc | 1 CC= gcc |
2 CFLAGS= -O2 | 2 CFLAGS= -O2 |
3 PROGS= cp2102-decode-baudtab cp2102-decode-ee-desc cp2102-read-baudtab \ | 3 PROGS= cp2102-decode-baudtab cp2102-decode-ee-desc cp2102-patch-ee-image \ |
4 cp2102-read-eeprom cp2102-read-partno | 4 cp2102-read-baudtab 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 |
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 DECODE_EEDESC_OBJS= decode_usb_desc.o intel_hex_in.o |
17 PATCH_FILE_OBJS= apply_eeprom_patch.o intel_hex_in.o intel_hex_out.o \ | |
18 patch_ee_file.o | |
17 READ_BAUDTAB_OBJS= decode_baudtab.o read_baudtab.o read_eeprom.o | 19 READ_BAUDTAB_OBJS= decode_baudtab.o read_baudtab.o read_eeprom.o |
18 READ_EEPROM_OBJS= intel_hex_out.o read_eeprom.o read_eeprom_main.o | 20 READ_EEPROM_OBJS= intel_hex_out.o read_eeprom.o read_eeprom_main.o |
19 RW_TEST_OBJS= intel_hex_in.o intel_hex_out.o file_rw_test.o | 21 RW_TEST_OBJS= intel_hex_in.o intel_hex_out.o file_rw_test.o |
20 | 22 |
21 all: ${PROGS} ${NOINST} | 23 all: ${PROGS} ${NOINST} |
23 cp2102-decode-baudtab: ${DECODE_BAUDTAB_OBJS} | 25 cp2102-decode-baudtab: ${DECODE_BAUDTAB_OBJS} |
24 ${CC} ${CFLAGS} -o $@ ${DECODE_BAUDTAB_OBJS} | 26 ${CC} ${CFLAGS} -o $@ ${DECODE_BAUDTAB_OBJS} |
25 | 27 |
26 cp2102-decode-ee-desc: ${DECODE_EEDESC_OBJS} | 28 cp2102-decode-ee-desc: ${DECODE_EEDESC_OBJS} |
27 ${CC} ${CFLAGS} -o $@ ${DECODE_EEDESC_OBJS} | 29 ${CC} ${CFLAGS} -o $@ ${DECODE_EEDESC_OBJS} |
30 | |
31 cp2102-patch-ee-image: ${PATCH_FILE_OBJS} | |
32 ${CC} ${CFLAGS} -o $@ ${PATCH_FILE_OBJS} | |
28 | 33 |
29 cp2102-read-baudtab: ${READ_BAUDTAB_OBJS} ${LIBS} | 34 cp2102-read-baudtab: ${READ_BAUDTAB_OBJS} ${LIBS} |
30 ${CC} ${CFLAGS} -o $@ ${READ_BAUDTAB_OBJS} ${LIBS} -lusb | 35 ${CC} ${CFLAGS} -o $@ ${READ_BAUDTAB_OBJS} ${LIBS} -lusb |
31 | 36 |
32 cp2102-read-eeprom: ${READ_EEPROM_OBJS} ${LIBS} | 37 cp2102-read-eeprom: ${READ_EEPROM_OBJS} ${LIBS} |