X-Git-Url: https://git.zerfleddert.de/cgi-bin/gitweb.cgi/usb-driver/blobdiff_plain/cdc711dc0a482c5cd0bc6dee34c930403c75cee1..f95f1d2e4eef8b6854a63ae64e2e0b25374bfe23:/Makefile

diff --git a/Makefile b/Makefile
index 784b1ac..d77f96a 100644
--- 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