CFLAGS=-Wall
-xilinx.so: xilinx.c xilinx.h
- gcc $(CFLAGS) $< -o $@ -ldl -lusb -shared
+libusb-driver.so: usb-driver.c usb-driver.h
+ gcc $(CFLAGS) $< -o $@ -ldl -lusb -lpthread -shared
clean:
- rm -f xilinx.so
+ rm -f libusb-driver.so
+
+.PHONY: clean