summaryrefslogtreecommitdiff
path: root/exes/all/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'exes/all/Makefile')
-rw-r--r--exes/all/Makefile14
1 files changed, 14 insertions, 0 deletions
diff --git a/exes/all/Makefile b/exes/all/Makefile
new file mode 100644
index 0000000..07c02d9
--- /dev/null
+++ b/exes/all/Makefile
@@ -0,0 +1,14 @@
+clean:
+ rm ./build/libhello.so
+
+library:
+ cargo build --release
+
+build: library
+ cp ../../target/release/liball.so ./build
+ go build -ldflags="-r build" -o build/all
+
+all: library build
+
+run: all
+ ./build/all