Tidy up and fix cscript some more.
[lwext4.git] / Makefile
index 12ee5c7b5ffb237ff12480597519170da16ec7a5..5cd1efb5d16a52cbf8dc97cf78c743d3fbe1fd03 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -19,6 +19,7 @@ COMMON_DEFINITIONS =                                      \
        -DVERSION_MINOR=$(VERSION_MINOR)                      \
        -DVERSION_PATCH=$(VERSION_PATCH)                      \
        -DVERSION=$(VERSION)                                  \
+       -DLWEXT4_BUILD_SHARED_LIB=ON                          \
 
 define generate_common
        rm -R -f build_$(1)
@@ -32,6 +33,9 @@ endef
 generic:
        $(call generate_common,$@)
 
+osx:   
+       $(call generate_common,$@)
+
 cortex-m0:
        $(call generate_common,$@)