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