1 #Add -DFORCE_PC3_IDENT to CFLAGS to force the identification of
3 CFLAGS=-Wall -fPIC #-DFORCE_PC3_IDENT
5 SOBJECTS=libusb-driver.so libusb-driver-DEBUG.so
9 libusb-driver.so: usb-driver.c usb-driver.h Makefile
10 gcc $(CFLAGS) $< -o $@ -ldl -lusb -lpthread -shared
12 libusb-driver-DEBUG.so: usb-driver.c usb-driver.h Makefile
13 gcc -DDEBUG $(CFLAGS) $< -o $@ -ldl -lusb -lpthread -shared