X-Git-Url: https://git.zerfleddert.de/cgi-bin/gitweb.cgi/usb-driver/blobdiff_plain/cdc711dc0a482c5cd0bc6dee34c930403c75cee1..f0bfb2db7dd53c2ac7c8376805ad596d080bddc8:/Makefile?ds=sidebyside diff --git a/Makefile b/Makefile index 784b1ac..250e2f6 100644 --- a/Makefile +++ b/Makefile @@ -1,5 +1,9 @@ -xilinx.so: xilinx.c - 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