FreeCalypso > hg > fc-usbser-tools
view duart28/Makefile @ 95:a378bf95c26c
cp2102-read-eeprom: write the Intel HEX image into a file
author | Mychaela Falconia <falcon@freecalypso.org> |
---|---|
date | Thu, 28 Sep 2023 02:19:39 +0000 |
parents | 530ec3792de8 |
children |
line wrap: on
line source
CC= gcc CFLAGS= -O2 PROG= fc-duart28-conf OBJS= eeprom_rd.o eeprom_wr.o find_usb.o main.o LIBS= ../libftmini/libftmini.a ../libuwrap/libuwrap.a INSTALL_PREFIX= /opt/freecalypso INSTBIN=${INSTALL_PREFIX}/bin all: ${PROG} ${PROG}: ${OBJS} ${LIBS} ${CC} ${CFLAGS} -o $@ ${OBJS} ${LIBS} -lusb install: mkdir -p ${INSTBIN} install -c ${PROG} ${INSTBIN} clean: rm -f ${PROG} *.o *errs *.out