litex/misoclib/com/liteusb/software/ftdi/windows/Makefile

13 lines
261 B
Makefile

CC=gcc
CFLAGS_DLL =-Wall -O0 -g -shared -Wl,--subsystem,windows -DDLL
LIBS= -lusb-1.0
all: libftdicom.dll
cp libftdicom.dll ../libftdicom.dll
libftdicom.dll: ../fastftdi.c
$(CC) -o $@ $(CFLAGS_DLL) $^ $(LIBS)
clean:
rm -f libftdicom.dll ../libftdicom.dll