litex/misoclib/com/software/ftdi/ft2232h/libftdicom/Makefile
Florent Kermarrec b647fe5823 merge liteusb
2015-02-28 11:16:16 +01:00

15 lines
No EOL
343 B
Makefile

CC=gcc
CFLAGS =-Wall -O0
CFLAGS_DLL =-Wall -O0 -g -shared -Wl,--out-implib,libftdicom.a
INC=-I. -I../libusb
LIBS_PATHS= -L. -L../libusb
LIBS_DLL= -lusb-1.0 -lpthreadGC2
all: libftdicom.dll
libftdicom.dll: crc32.c fastftdi.c ftdicom.c
$(CC) $(INC) -o $@ $(CFLAGS_DLL) $^ $(LIBS_PATHS) $(LIBS_DLL)
clean:
rm libftdicom.a
rm libftdicom.dll