From: michael <michael>
Date: Sun, 25 Feb 2007 00:04:39 +0000 (+0000)
Subject: rename sources
X-Git-Url: https://git.zerfleddert.de/cgi-bin/gitweb.cgi/usb-driver/commitdiff_plain/2c0c12554ebcd58eb3f1fbf2fa322588ec6ce259?ds=sidebyside;hp=533f4b68ba8ee534ffd2ad5009701bfb433b31b8

rename sources
---

diff --git a/Makefile b/Makefile
index 8456d8d..250e2f6 100644
--- a/Makefile
+++ b/Makefile
@@ -1,7 +1,9 @@
 CFLAGS=-Wall
 
-xilinx.so: xilinx.c xilinx.h
+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
diff --git a/usb-driver.c b/usb-driver.c
index 2eece1e..c71cbd0 100644
--- a/usb-driver.c
+++ b/usb-driver.c
@@ -21,7 +21,7 @@
 #include <usb.h>
 #include <signal.h>
 #include <pthread.h>
-#include "xilinx.h"
+#include "usb-driver.h"
 
 static int (*ioctl_func) (int, int, void *) = NULL;
 static int windrvrfd = 0;