aboutsummaryrefslogtreecommitdiff
path: root/third_party/websockify/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'third_party/websockify/Makefile')
-rw-r--r--third_party/websockify/Makefile11
1 files changed, 11 insertions, 0 deletions
diff --git a/third_party/websockify/Makefile b/third_party/websockify/Makefile
new file mode 100644
index 00000000..7dc1bc4f
--- /dev/null
+++ b/third_party/websockify/Makefile
@@ -0,0 +1,11 @@
+TARGETS=rebind.so
+CFLAGS += -fPIC
+
+all: $(TARGETS)
+
+rebind.so: rebind.o
+ $(CC) $(LDFLAGS) $^ -shared -fPIC -ldl -o $@
+
+clean:
+ rm -f rebind.o rebind.so
+