fix makefile warning when renaming symbols
use different names for `openblas*.renamed` between osx and other unices, fixes
```
Makefile:121: warning: overriding commands for target `../libopenblas64_p-r0.2.15.a.renamed'
Makefile💯 warning: ignoring old commands for target `../libopenblas64_p-r0.2.15.a.renamed'
```
also clean `*.renamed`
This commit is contained in:
parent
640cccc2b1
commit
d22917a58a
|
@ -100,9 +100,9 @@ libgoto_hpl.def : gensymbol
|
||||||
ifeq (, $(SYMBOLPREFIX)$(SYMBOLSUFFIX))
|
ifeq (, $(SYMBOLPREFIX)$(SYMBOLSUFFIX))
|
||||||
$(LIBDYNNAME) : ../$(LIBNAME) osx.def
|
$(LIBDYNNAME) : ../$(LIBNAME) osx.def
|
||||||
else
|
else
|
||||||
../$(LIBNAME).renamed : ../$(LIBNAME) objconv.def
|
../$(LIBNAME).osx.renamed : ../$(LIBNAME) objconv.def
|
||||||
$(OBJCONV) @objconv.def ../$(LIBNAME) ../$(LIBNAME).renamed
|
$(OBJCONV) @objconv.def ../$(LIBNAME) ../$(LIBNAME).osx.renamed
|
||||||
$(LIBDYNNAME) : ../$(LIBNAME).renamed osx.def
|
$(LIBDYNNAME) : ../$(LIBNAME).osx.renamed osx.def
|
||||||
endif
|
endif
|
||||||
ifeq ($(NOFORTRAN), $(filter $(NOFORTRAN),1 2))
|
ifeq ($(NOFORTRAN), $(filter $(NOFORTRAN),1 2))
|
||||||
#only build without Fortran
|
#only build without Fortran
|
||||||
|
@ -224,7 +224,7 @@ linktest.c : gensymbol ../Makefile.system ../getarch.c
|
||||||
perl ./gensymbol linktest $(ARCH) $(BU) $(EXPRECISION) $(NO_CBLAS) $(NO_LAPACK) $(NO_LAPACKE) $(NEED2UNDERSCORES) $(ONLY_CBLAS) "$(SYMBOLPREFIX)" "$(SYMBOLSUFFIX)" > linktest.c
|
perl ./gensymbol linktest $(ARCH) $(BU) $(EXPRECISION) $(NO_CBLAS) $(NO_LAPACK) $(NO_LAPACKE) $(NEED2UNDERSCORES) $(ONLY_CBLAS) "$(SYMBOLPREFIX)" "$(SYMBOLSUFFIX)" > linktest.c
|
||||||
|
|
||||||
clean ::
|
clean ::
|
||||||
@rm -f *.def *.dylib __.SYMDEF*
|
@rm -f *.def *.dylib __.SYMDEF* *.renamed
|
||||||
|
|
||||||
include ../Makefile.tail
|
include ../Makefile.tail
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue