FreeCalypso > hg > fc-usbser-tools
view duart28/Makefile @ 28:c4b4ebaa2117
top Makefile: add duart28
author | Mychaela Falconia <falcon@freecalypso.org> |
---|---|
date | Sat, 09 Sep 2023 17:55:14 +0000 |
parents | 2413a54a1bfc |
children | a7393d00996a |
line wrap: on
line source
CC= gcc CFLAGS= -O2 PROG= fc-duart28-conf OBJS= 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