diff options
author | Determinant <[email protected]> | 2019-06-07 22:57:05 -0400 |
---|---|---|
committer | Determinant <[email protected]> | 2019-06-07 22:57:05 -0400 |
commit | 92ad2074c4406d25ce52957890d9e48f6d769efe (patch) | |
tree | 22b331c9b4e4e1aefa53321e8aaf6b60214ec68e /Makefile | |
parent | 9af95694330d8d0a56f534509e98dbac8e89e85e (diff) |
add makefile
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 14 |
1 files changed, 14 insertions, 0 deletions
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 |