Modified Makefile to avoid redundant echo.
This commit is contained in:
parent
9c0a834f98
commit
b51e2ba1ee
44
Makefile
44
Makefile
|
@ -82,27 +82,27 @@ endif
|
||||||
shared :
|
shared :
|
||||||
ifndef NO_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
|
||||||
-ln -fs $(LIBSONAME) $(LIBPREFIX).so.$(MAJOR_VERSION)
|
@-ln -fs $(LIBSONAME) $(LIBPREFIX).so.$(MAJOR_VERSION)
|
||||||
endif
|
endif
|
||||||
ifeq ($(OSNAME), FreeBSD)
|
ifeq ($(OSNAME), FreeBSD)
|
||||||
$(MAKE) -C exports so
|
@$(MAKE) -C exports so
|
||||||
-ln -fs $(LIBSONAME) $(LIBPREFIX).so
|
@-ln -fs $(LIBSONAME) $(LIBPREFIX).so
|
||||||
endif
|
endif
|
||||||
ifeq ($(OSNAME), NetBSD)
|
ifeq ($(OSNAME), NetBSD)
|
||||||
$(MAKE) -C exports so
|
@$(MAKE) -C exports so
|
||||||
-ln -fs $(LIBSONAME) $(LIBPREFIX).so
|
@-ln -fs $(LIBSONAME) $(LIBPREFIX).so
|
||||||
endif
|
endif
|
||||||
ifeq ($(OSNAME), Darwin)
|
ifeq ($(OSNAME), Darwin)
|
||||||
$(MAKE) -C exports dyn
|
@$(MAKE) -C exports dyn
|
||||||
-ln -fs $(LIBDYNNAME) $(LIBPREFIX).dylib
|
@-ln -fs $(LIBDYNNAME) $(LIBPREFIX).dylib
|
||||||
endif
|
endif
|
||||||
ifeq ($(OSNAME), WINNT)
|
ifeq ($(OSNAME), WINNT)
|
||||||
$(MAKE) -C exports dll
|
@$(MAKE) -C exports dll
|
||||||
endif
|
endif
|
||||||
ifeq ($(OSNAME), CYGWIN_NT)
|
ifeq ($(OSNAME), CYGWIN_NT)
|
||||||
$(MAKE) -C exports dll
|
@$(MAKE) -C exports dll
|
||||||
endif
|
endif
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
@ -131,33 +131,33 @@ endif
|
||||||
ifeq ($(NOFORTRAN), 1)
|
ifeq ($(NOFORTRAN), 1)
|
||||||
$(error OpenBLAS: Detecting fortran compiler failed. Please install fortran compiler, e.g. gfortran, ifort, openf90.)
|
$(error OpenBLAS: Detecting fortran compiler failed. Please install fortran compiler, e.g. gfortran, ifort, openf90.)
|
||||||
endif
|
endif
|
||||||
-ln -fs $(LIBNAME) $(LIBPREFIX).$(LIBSUFFIX)
|
@-ln -fs $(LIBNAME) $(LIBPREFIX).$(LIBSUFFIX)
|
||||||
for d in $(SUBDIRS) ; \
|
@for d in $(SUBDIRS) ; \
|
||||||
do if test -d $$d; then \
|
do if test -d $$d; then \
|
||||||
$(MAKE) -C $$d $(@F) || exit 1 ; \
|
$(MAKE) -C $$d $(@F) || exit 1 ; \
|
||||||
fi; \
|
fi; \
|
||||||
done
|
done
|
||||||
#Save the config files for installation
|
#Save the config files for installation
|
||||||
cp Makefile.conf Makefile.conf_last
|
@cp Makefile.conf Makefile.conf_last
|
||||||
cp config.h config_last.h
|
@cp config.h config_last.h
|
||||||
ifdef QUAD_PRECISION
|
ifdef QUAD_PRECISION
|
||||||
echo "#define QUAD_PRECISION">> config_last.h
|
@echo "#define QUAD_PRECISION">> config_last.h
|
||||||
endif
|
endif
|
||||||
ifeq ($(EXPRECISION), 1)
|
ifeq ($(EXPRECISION), 1)
|
||||||
echo "#define EXPRECISION">> config_last.h
|
@echo "#define EXPRECISION">> config_last.h
|
||||||
endif
|
endif
|
||||||
##
|
##
|
||||||
ifeq ($(DYNAMIC_ARCH), 1)
|
ifeq ($(DYNAMIC_ARCH), 1)
|
||||||
$(MAKE) -C kernel commonlibs || exit 1
|
@$(MAKE) -C kernel commonlibs || exit 1
|
||||||
for d in $(DYNAMIC_CORE) ; \
|
@for d in $(DYNAMIC_CORE) ; \
|
||||||
do $(MAKE) GOTOBLAS_MAKEFILE= -C kernel TARGET_CORE=$$d kernel || exit 1 ;\
|
do $(MAKE) GOTOBLAS_MAKEFILE= -C kernel TARGET_CORE=$$d kernel || exit 1 ;\
|
||||||
done
|
done
|
||||||
echo DYNAMIC_ARCH=1 >> Makefile.conf_last
|
@echo DYNAMIC_ARCH=1 >> Makefile.conf_last
|
||||||
endif
|
endif
|
||||||
ifdef USE_THREAD
|
ifdef USE_THREAD
|
||||||
echo USE_THREAD=$(USE_THREAD) >> Makefile.conf_last
|
@echo USE_THREAD=$(USE_THREAD) >> Makefile.conf_last
|
||||||
endif
|
endif
|
||||||
touch lib.grd
|
@touch lib.grd
|
||||||
|
|
||||||
prof : prof_blas prof_lapack
|
prof : prof_blas prof_lapack
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue