diff options
-rw-r--r-- | Makefile.common | 5 | ||||
-rw-r--r-- | Makefile.rules | 5 |
2 files changed, 10 insertions, 0 deletions
diff --git a/Makefile.common b/Makefile.common index 46d18c6189..aef05750ac 100644 --- a/Makefile.common +++ b/Makefile.common @@ -29,6 +29,11 @@ #ENABLE_PURIFY = 1 #ENABLE_OPTIMIZED = 1 +ifdef SHARED_LIBRARY +# if SHARED_LIBRARY is specified, the default is to build the dynamic lib +dynamic :: +endif + # Default Rule: Make sure it's also a :: rule all :: diff --git a/Makefile.rules b/Makefile.rules index 46d18c6189..aef05750ac 100644 --- a/Makefile.rules +++ b/Makefile.rules @@ -29,6 +29,11 @@ #ENABLE_PURIFY = 1 #ENABLE_OPTIMIZED = 1 +ifdef SHARED_LIBRARY +# if SHARED_LIBRARY is specified, the default is to build the dynamic lib +dynamic :: +endif + # Default Rule: Make sure it's also a :: rule all :: |