]> git.zerfleddert.de Git - usb-driver/blame - Makefile
rename TRENZ define to FORCE_PC3_IDENT and document how to enable the
[usb-driver] / Makefile
CommitLineData
05e1bfcd 1#Add -DFORCE_PC3_IDENT to CFLAGS to force the identification of
2#a Parallel Cable III
3CFLAGS=-Wall -fPIC #-DFORCE_PC3_IDENT
2c2119eb 4
05e1bfcd 5SOBJECTS=libusb-driver.so libusb-driver-DEBUG.so
cdc9c5bf 6
7all: $(SOBJECTS)
7216ce6c 8
05e1bfcd 9libusb-driver.so: usb-driver.c usb-driver.h Makefile
cdc9c5bf 10 gcc $(CFLAGS) $< -o $@ -ldl -lusb -lpthread -shared
11
05e1bfcd 12libusb-driver-DEBUG.so: usb-driver.c usb-driver.h Makefile
cdc9c5bf 13 gcc -DDEBUG $(CFLAGS) $< -o $@ -ldl -lusb -lpthread -shared
cdc711dc 14
15clean:
cdc9c5bf 16 rm -f $(SOBJECTS)
2c0c1255 17
7216ce6c 18.PHONY: clean all
Impressum, Datenschutz