summaryrefslogtreecommitdiff
path: root/liboctopus/Makefile
diff options
context:
space:
mode:
authorYves Fischer <yvesf-git@xapek.org>2011-10-11 21:50:49 +0200
committerYves Fischer <yvesf-git@xapek.org>2011-10-11 21:50:49 +0200
commit324c5ba9098c1010d0aa8c1e26b95509878ce9f2 (patch)
treef6ef2d537decaa2e1af6d4b9c4c31161b22333ec /liboctopus/Makefile
downloadmini-octopus-324c5ba9098c1010d0aa8c1e26b95509878ce9f2.tar.gz
mini-octopus-324c5ba9098c1010d0aa8c1e26b95509878ce9f2.zip
Mini-Octopus build from r@171
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