]> git.zerfleddert.de Git - usb-driver/blame_incremental - Makefile
add tested software
[usb-driver] / Makefile
... / ...
CommitLineData
1CFLAGS=-Wall
2
3all: libusb-driver.so libusb-driver-DEBUG.so
4
5libusb-driver.so: usb-driver.c usb-driver.h
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
10
11clean:
12 rm -f libusb-driver.so libusb-driver-DEBUG.so
13
14.PHONY: clean all
Impressum, Datenschutz