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