FreeCalypso > hg > fc-usbser-tools
comparison cp2102/Makefile @ 62:f5db4e03efb2
cp2102/Makefile: install baudtab files
| author | Mychaela Falconia <falcon@freecalypso.org> |
|---|---|
| date | Mon, 11 Sep 2023 21:15:18 +0000 |
| parents | ae8075bcc029 |
| children | 0787525a33e2 |
comparison
equal
deleted
inserted
replaced
| 61:7941a5e06d6a | 62:f5db4e03efb2 |
|---|---|
| 3 PROGS= cp2102-decode-baudtab cp2102-read-baudtab cp2102-read-eeprom \ | 3 PROGS= cp2102-decode-baudtab cp2102-read-baudtab cp2102-read-eeprom \ |
| 4 cp2102-read-partno | 4 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 | |
| 9 | |
| 8 INSTALL_PREFIX= /opt/freecalypso | 10 INSTALL_PREFIX= /opt/freecalypso |
| 9 | 11 |
| 10 INSTBIN=${INSTALL_PREFIX}/bin | 12 INSTBIN=${INSTALL_PREFIX}/bin |
| 13 INSTDAT=${INSTALL_PREFIX}/cp2102 | |
| 11 | 14 |
| 12 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 |
| 13 READ_BAUDTAB_OBJS= decode_baudtab.o read_baudtab.o read_eeprom.o | 16 READ_BAUDTAB_OBJS= decode_baudtab.o read_baudtab.o read_eeprom.o |
| 14 READ_EEPROM_OBJS= intel_hex_out.o read_eeprom.o read_eeprom_main.o | 17 READ_EEPROM_OBJS= intel_hex_out.o read_eeprom.o read_eeprom_main.o |
| 15 RW_TEST_OBJS= intel_hex_in.o intel_hex_out.o file_rw_test.o | 18 RW_TEST_OBJS= intel_hex_in.o intel_hex_out.o file_rw_test.o |
| 32 ${CC} ${CFLAGS} -o $@ ${RW_TEST_OBJS} | 35 ${CC} ${CFLAGS} -o $@ ${RW_TEST_OBJS} |
| 33 | 36 |
| 34 install: | 37 install: |
| 35 mkdir -p ${INSTBIN} | 38 mkdir -p ${INSTBIN} |
| 36 install -c ${PROGS} ${INSTBIN} | 39 install -c ${PROGS} ${INSTBIN} |
| 40 mkdir -p ${INSTDAT} | |
| 41 install -c -m 644 ${INST_FILES} ${INSTDAT} | |
| 37 | 42 |
| 38 clean: | 43 clean: |
| 39 rm -f ${PROGS} ${NOINST} *.o *errs *.out | 44 rm -f ${PROGS} ${NOINST} *.o *errs *.out |
