rename sources
This commit is contained in:
parent
533f4b68ba
commit
2c0c12554e
6
Makefile
6
Makefile
@ -1,7 +1,9 @@
|
|||||||
CFLAGS=-Wall
|
CFLAGS=-Wall
|
||||||
|
|
||||||
xilinx.so: xilinx.c xilinx.h
|
libusb-driver.so: usb-driver.c usb-driver.h
|
||||||
gcc $(CFLAGS) $< -o $@ -ldl -lusb -lpthread -shared
|
gcc $(CFLAGS) $< -o $@ -ldl -lusb -lpthread -shared
|
||||||
|
|
||||||
clean:
|
clean:
|
||||||
rm -f xilinx.so
|
rm -f libusb-driver.so
|
||||||
|
|
||||||
|
.PHONY: clean
|
||||||
|
@ -21,7 +21,7 @@
|
|||||||
#include <usb.h>
|
#include <usb.h>
|
||||||
#include <signal.h>
|
#include <signal.h>
|
||||||
#include <pthread.h>
|
#include <pthread.h>
|
||||||
#include "xilinx.h"
|
#include "usb-driver.h"
|
||||||
|
|
||||||
static int (*ioctl_func) (int, int, void *) = NULL;
|
static int (*ioctl_func) (int, int, void *) = NULL;
|
||||||
static int windrvrfd = 0;
|
static int windrvrfd = 0;
|
||||||
|
Reference in New Issue
Block a user