litex/misoclib/com/liteusb/software/ftdi/windows/Makefile
Florent Kermarrec da0fe2ecfb liteusb: refactor software (use python instead of libftdicom in C) and provide simple example.
small modifications to fastftdi.c are also done to select our interface (A or B) and mode (synchronous, asynchronous)
2015-05-01 16:22:26 +02:00

12 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