]> git.zerfleddert.de Git - usb-driver/blobdiff - Makefile
BUG-Fix: Do not do ioctls on fd == 0
[usb-driver] / Makefile
index 784b1ac7f115a9ba6012b5a568d74320eba29255..250e2f671e55f40ac4eeeaddc6d8e773af621edf 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -1,5 +1,9 @@
-xilinx.so: xilinx.c
-       gcc $< -o $@ -ldl -shared
+CFLAGS=-Wall
+
+libusb-driver.so: usb-driver.c usb-driver.h
+       gcc $(CFLAGS) $< -o $@ -ldl -lusb -lpthread -shared
 
 clean:
 
 clean:
-       rm -f xilinx.so
+       rm -f libusb-driver.so
+
+.PHONY: clean
Impressum, Datenschutz