]> git.zerfleddert.de Git - usb-driver/blame - Makefile
always set ecpbase correctly.
[usb-driver] / Makefile
CommitLineData
2c2119eb 1CFLAGS=-Wall
2
7216ce6c 3all: libusb-driver.so libusb-driver-DEBUG.so
4
2c0c1255 5libusb-driver.so: usb-driver.c usb-driver.h
7216ce6c 6 gcc -fPIC $(CFLAGS) $< -o $@ -ldl -lusb -lpthread -shared
7
8libusb-driver-DEBUG.so: usb-driver.c usb-driver.h
9 gcc -fPIC -DDEBUG $(CFLAGS) $< -o $@ -ldl -lusb -lpthread -shared
cdc711dc 10
11clean:
7216ce6c 12 rm -f libusb-driver.so libusb-driver-DEBUG.so
2c0c1255 13
7216ce6c 14.PHONY: clean all
Impressum, Datenschutz