]> git.zerfleddert.de Git - usb-driver/blobdiff - Makefile
return parport_pc in list of loaded modules so impact does not show
[usb-driver] / Makefile
index 59bf33cfb07f4dc25948ca6a9f92466a1be851b4..250e2f671e55f40ac4eeeaddc6d8e773af621edf 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -1,5 +1,9 @@
-xilinx.so: xilinx.c xilinx.h
-       gcc $< -o $@ -ldl -shared
+CFLAGS=-Wall
+
+libusb-driver.so: usb-driver.c usb-driver.h
+       gcc $(CFLAGS) $< -o $@ -ldl -lusb -lpthread -shared
 
 clean:
-       rm -f xilinx.so
+       rm -f libusb-driver.so
+
+.PHONY: clean
Impressum, Datenschutz