summaryrefslogtreecommitdiffstats
path: root/netwerk/base/rust-url-capi/test/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'netwerk/base/rust-url-capi/test/Makefile')
-rw-r--r--netwerk/base/rust-url-capi/test/Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/netwerk/base/rust-url-capi/test/Makefile b/netwerk/base/rust-url-capi/test/Makefile
new file mode 100644
index 000000000..a4e2fd0cf
--- /dev/null
+++ b/netwerk/base/rust-url-capi/test/Makefile
@@ -0,0 +1,4 @@
+all:
+ cd .. && cargo build
+ g++ -Wall -o test test.cpp ../target/debug/librust*.a -ldl -lpthread -lrt -lgcc_s -lpthread -lc -lm -std=c++0x
+ ./test