1
0
This repository has been archived on 2020-07-30. You can view files and clone it, but cannot push or open issues or pull requests.
michael cdc9c5bf09 Add hack to force the detection of a parallel cable by Stefan Ziegenbalg.
This hack is activated by preloading libusb-driver-trenz.so.
2007-04-02 08:22:08 +00:00

20 lines
478 B
Makefile

CFLAGS=-Wall -fPIC
SOBJECTS=libusb-driver.so libusb-driver-DEBUG.so libusb-driver-trenz.so
all: $(SOBJECTS)
libusb-driver.so: usb-driver.c usb-driver.h
gcc $(CFLAGS) $< -o $@ -ldl -lusb -lpthread -shared
libusb-driver-trenz.so: usb-driver.c usb-driver.h
gcc -DTRENZ $(CFLAGS) $< -o $@ -ldl -lusb -lpthread -shared
libusb-driver-DEBUG.so: usb-driver.c usb-driver.h
gcc -DDEBUG $(CFLAGS) $< -o $@ -ldl -lusb -lpthread -shared
clean:
rm -f $(SOBJECTS)
.PHONY: clean all