]> git.zerfleddert.de Git - usb-driver/blame - Makefile
Add hack to force the detection of a parallel cable by Stefan Ziegenbalg.
[usb-driver] / Makefile
CommitLineData
cdc9c5bf 1CFLAGS=-Wall -fPIC
2c2119eb 2
cdc9c5bf 3SOBJECTS=libusb-driver.so libusb-driver-DEBUG.so libusb-driver-trenz.so
4
5all: $(SOBJECTS)
7216ce6c 6
2c0c1255 7libusb-driver.so: usb-driver.c usb-driver.h
cdc9c5bf 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
7216ce6c 12
13libusb-driver-DEBUG.so: usb-driver.c usb-driver.h
cdc9c5bf 14 gcc -DDEBUG $(CFLAGS) $< -o $@ -ldl -lusb -lpthread -shared
cdc711dc 15
16clean:
cdc9c5bf 17 rm -f $(SOBJECTS)
2c0c1255 18
7216ce6c 19.PHONY: clean all
Impressum, Datenschutz