From 92ad2074c4406d25ce52957890d9e48f6d769efe Mon Sep 17 00:00:00 2001 From: Determinant Date: Fri, 7 Jun 2019 22:57:05 -0400 Subject: add makefile --- Makefile | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 Makefile (limited to 'Makefile') diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..1ee5226 --- /dev/null +++ b/Makefile @@ -0,0 +1,14 @@ +.PHONY: all clean + +all: build/test_msgnet + +salticidae/libsalticidae.so: + cd salticidae/ + cmake -DCMAKE_BUILD_TYPE=Release -DBUILD_SHARED=ON -DSALTICIDAE_DEBUG_LOG=OFF -DSALTICIDAE_CBINDINGS=ON -DBUILD_TEST=OFF salticidae/ --build salticidae/ + make -C salticidae/ + +build: + mkdir -p build + +build/test_msgnet: salticidae/libsalticidae.so + go build -o $@ salticidae-go/test_msgnet -- cgit v1.2.3-70-g09d2