Fix #includes and build a shared library.
[lwext4.git] / Makefile
index 41ee486e133c175fb9e26a6db624c34ba54c1c6d..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)