mirror of
https://github.com/enjoy-digital/litex.git
synced 2025-01-04 09:52:26 -05:00
da0fe2ecfb
small modifications to fastftdi.c are also done to select our interface (A or B) and mode (synchronous, asynchronous)
12 lines
261 B
Makefile
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
|