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