]> git.zerfleddert.de Git - usb-driver/blobdiff - Makefile
BUG-Fix: Do not do ioctls on fd == 0
[usb-driver] / Makefile
index 5413efd85dfaf00e4277a04fb639ac1fd39c940b..250e2f671e55f40ac4eeeaddc6d8e773af621edf 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -1,7 +1,9 @@
 CFLAGS=-Wall
 
-xilinx.so: xilinx.c xilinx.h
-       gcc $(CFLAGS) $< -o $@ -ldl -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
Impressum, Datenschutz