]> git.zerfleddert.de Git - usb-driver/blobdiff - Makefile
find the device!
[usb-driver] / Makefile
index 784b1ac7f115a9ba6012b5a568d74320eba29255..d77f96afe3d65af77816d26bef879f5454a5784b 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -1,5 +1,7 @@
-xilinx.so: xilinx.c
-       gcc $< -o $@ -ldl -shared
+CFLAGS=-Wall
+
+xilinx.so: xilinx.c xilinx.h
+       gcc $(CFLAGS) $< -o $@ -ldl -lusb -shared
 
 clean:
        rm -f xilinx.so
Impressum, Datenschutz