]> git.zerfleddert.de Git - usb-driver/blame_incremental - Makefile
add EDK 8.1 as reported working
[usb-driver] / Makefile
... / ...
CommitLineData
1#Add -DFORCE_PC3_IDENT to CFLAGS to force the identification of
2#a Parallel Cable III
3CFLAGS=-Wall -fPIC #-DFORCE_PC3_IDENT
4
5SOBJECTS=libusb-driver.so libusb-driver-DEBUG.so
6
7all: $(SOBJECTS)
8
9libusb-driver.so: usb-driver.c usb-driver.h Makefile
10 gcc $(CFLAGS) $< -o $@ -ldl -lusb -lpthread -shared
11
12libusb-driver-DEBUG.so: usb-driver.c usb-driver.h Makefile
13 gcc -DDEBUG $(CFLAGS) $< -o $@ -ldl -lusb -lpthread -shared
14
15clean:
16 rm -f $(SOBJECTS)
17
18.PHONY: clean all
Impressum, Datenschutz