feat: add clang/OS X shared library support with dylib extension in Makefile

Introduce conditional detection of Darwin target to set appropriate shared library flags and extension (.dylib instead of .so). Refactor static and shared library build targets into combined `libwren` and `libwrend` phony targets that produce both .a and .dylib/.so files, and update .gitignore to exclude the new .dylib artifacts.
This commit is contained in:
Bob Nystrom
2015-01-29 03:50:53 +00:00
parent 65366b49d1
commit 6609bf2412
2 changed files with 27 additions and 21 deletions
+2
View File
@@ -10,6 +10,8 @@ libwren.a
libwrend.a
libwren.so
libwrend.so
libwren.dylib
libwrend.dylib
libwren-cpp.a
# XCode user-specific stuff.