X-Git-Url: https://git.zerfleddert.de/cgi-bin/gitweb.cgi/usb-driver/blobdiff_plain/da3ba95aeee227cd7d1e805c4d55776ca6363ca6..8923df66b0d6ad73a2f44c736ccb2667e9a91a8b:/Makefile?ds=sidebyside diff --git a/Makefile b/Makefile index 59bf33c..250e2f6 100644 --- 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