10 lines
158 B
Makefile
10 lines
158 B
Makefile
CFLAGS=-Wall
|
|
|
|
libusb-driver.so: usb-driver.c usb-driver.h
|
|
gcc $(CFLAGS) $< -o $@ -ldl -lusb -lpthread -shared
|
|
|
|
clean:
|
|
rm -f libusb-driver.so
|
|
|
|
.PHONY: clean
|