]> cvs.zerfleddert.de Git - usb-driver/blame_incremental - Makefile
Add hack to force the detection of a parallel cable by Stefan Ziegenbalg.
[usb-driver] / Makefile
... / ...
CommitLineData
1CFLAGS=-Wall -fPIC
2
3SOBJECTS=libusb-driver.so libusb-driver-DEBUG.so libusb-driver-trenz.so
4
5all: $(SOBJECTS)
6
7libusb-driver.so: usb-driver.c usb-driver.h
8 gcc $(CFLAGS) $< -o $@ -ldl -lusb -lpthread -shared
9
10libusb-driver-trenz.so: usb-driver.c usb-driver.h
11 gcc -DTRENZ $(CFLAGS) $< -o $@ -ldl -lusb -lpthread -shared
12
13libusb-driver-DEBUG.so: usb-driver.c usb-driver.h
14 gcc -DDEBUG $(CFLAGS) $< -o $@ -ldl -lusb -lpthread -shared
15
16clean:
17 rm -f $(SOBJECTS)
18
19.PHONY: clean all
Impressum, Datenschutz