diff options
author | Nao Pross <naopross@thearcway.org> | 2019-01-22 15:27:44 +0100 |
---|---|---|
committer | Nao Pross <naopross@thearcway.org> | 2019-01-22 15:27:44 +0100 |
commit | 9d6b8d4b838b12d5df4ef1ba668c1df55d8ab36b (patch) | |
tree | 003b9b510d326e8fb2ae4d8e51d5f56093609100 | |
parent | Add ninja build files to create a shared and static library (diff) | |
download | libmm-9d6b8d4b838b12d5df4ef1ba668c1df55d8ab36b.tar.gz libmm-9d6b8d4b838b12d5df4ef1ba668c1df55d8ab36b.zip |
Add ninja rule to build example
-rw-r--r-- | build.ninja | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/build.ninja b/build.ninja index 3c134bf..9f51a13 100644 --- a/build.ninja +++ b/build.ninja @@ -1,6 +1,11 @@ include ninja/rules.ninja +# libmm build build/mmvec.o: cpp mmvec.cpp build build/libmm.a: link-static build/mmvec.o build build/libmm.so: link-shared build/mmvec.o + +# examples +build build/example.o: cpp example.cpp +build build/example: link build/example.o |