rename sources
authormichael <michael>
Sun, 25 Feb 2007 00:04:39 +0000 (00:04 +0000)
committermichael <michael>
Sun, 25 Feb 2007 00:04:39 +0000 (00:04 +0000)
Makefile
usb-driver.c

index 8456d8da3da006d87a70d8914d97bfded5fa4d3b..250e2f671e55f40ac4eeeaddc6d8e773af621edf 100644 (file)
--- 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
index 2eece1e76344b45ed0ce229c71f97ba7563bc93d..c71cbd08d67b0a214cca635f67a3246e36e71c2f 100644 (file)
@@ -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;
Impressum, Datenschutz