summaryrefslogtreecommitdiff
path: root/liboctopus/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'liboctopus/Makefile')
-rw-r--r--liboctopus/Makefile10
1 files changed, 10 insertions, 0 deletions
diff --git a/liboctopus/Makefile b/liboctopus/Makefile
new file mode 100644
index 0000000..70d2625
--- /dev/null
+++ b/liboctopus/Makefile
@@ -0,0 +1,10 @@
+CC=gcc
+CFLAGS= -fPIC
+LDFLAGS=`pkg-config --libs libusb`
+
+all: octopus.o
+ gcc -fPIC -shared octopus.o $(LDFLAGS) -o liboctopus.so
+
+.PHONY: clean
+clean:
+ rm -vf octopus.o liboctopus.so