Added NO_SHARED flag to disable generating the shared library.
This commit is contained in:
parent
538c764d2b
commit
378acfe826
2
Makefile
2
Makefile
|
@ -80,6 +80,7 @@ endif
|
||||||
@echo
|
@echo
|
||||||
|
|
||||||
shared :
|
shared :
|
||||||
|
ifndef NO_SHARED
|
||||||
ifeq ($(OSNAME), Linux)
|
ifeq ($(OSNAME), Linux)
|
||||||
$(MAKE) -C exports so
|
$(MAKE) -C exports so
|
||||||
-ln -fs $(LIBSONAME) $(LIBPREFIX).so
|
-ln -fs $(LIBSONAME) $(LIBPREFIX).so
|
||||||
|
@ -103,6 +104,7 @@ endif
|
||||||
ifeq ($(OSNAME), CYGWIN_NT)
|
ifeq ($(OSNAME), CYGWIN_NT)
|
||||||
$(MAKE) -C exports dll
|
$(MAKE) -C exports dll
|
||||||
endif
|
endif
|
||||||
|
endif
|
||||||
|
|
||||||
tests :
|
tests :
|
||||||
ifndef NOFORTRAN
|
ifndef NOFORTRAN
|
||||||
|
|
|
@ -45,6 +45,9 @@ VERSION = 0.2.4
|
||||||
# automatically detected by the the script.
|
# automatically detected by the the script.
|
||||||
# NUM_THREADS = 24
|
# NUM_THREADS = 24
|
||||||
|
|
||||||
|
# if you don't need generate the shared library, please comment it in.
|
||||||
|
# NO_SHARED = 1
|
||||||
|
|
||||||
# If you don't need CBLAS interface, please comment it in.
|
# If you don't need CBLAS interface, please comment it in.
|
||||||
# NO_CBLAS = 1
|
# NO_CBLAS = 1
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue