diff options
author | Kyle Guinn <elyk03@gmail.com> | 2017-02-04 22:47:19 -0600 |
---|---|---|
committer | Kyle Guinn <elyk03@gmail.com> | 2017-02-04 22:47:19 -0600 |
commit | a203318e676047587f146f644d2d4ae70e8b4d6b (patch) | |
tree | 21a1b8cc60bd1be41db78d7ae2544c1075713eeb /INSTALL | |
parent | d91ece25a23c14e13d4957aab5fc6823a4a4ab2e (diff) | |
download | lapack-a203318e676047587f146f644d2d4ae70e8b4d6b.tar.gz lapack-a203318e676047587f146f644d2d4ae70e8b4d6b.tar.bz2 lapack-a203318e676047587f146f644d2d4ae70e8b4d6b.zip |
Add libraries as prerequisites
Use the automatic variable $^ to refer to all prerequisites when
linking or creating an archive.
Diffstat (limited to 'INSTALL')
-rw-r--r-- | INSTALL/Makefile | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/INSTALL/Makefile b/INSTALL/Makefile index 51b15de6..901d0b5d 100644 --- a/INSTALL/Makefile +++ b/INSTALL/Makefile @@ -8,27 +8,27 @@ cleanall: rm -f test* testlsame: lsame.o lsametst.o - $(LOADER) $(LOADOPTS) -o $@ lsame.o lsametst.o + $(LOADER) $(LOADOPTS) -o $@ $^ testslamch: slamch.o lsame.o slamchtst.o - $(LOADER) $(LOADOPTS) -o $@ slamch.o lsame.o slamchtst.o + $(LOADER) $(LOADOPTS) -o $@ $^ testdlamch: dlamch.o lsame.o dlamchtst.o - $(LOADER) $(LOADOPTS) -o $@ dlamch.o lsame.o dlamchtst.o + $(LOADER) $(LOADOPTS) -o $@ $^ testsecond: second_$(TIMER).o secondtst.o @echo "[INFO] : TIMER value: $(TIMER) (given by make.inc)" - $(LOADER) $(LOADOPTS) -o $@ second_$(TIMER).o secondtst.o + $(LOADER) $(LOADOPTS) -o $@ $^ testdsecnd: dsecnd_$(TIMER).o dsecndtst.o @echo "[INFO] : TIMER value: $(TIMER) (given by make.inc)" - $(LOADER) $(LOADOPTS) -o $@ dsecnd_$(TIMER).o dsecndtst.o + $(LOADER) $(LOADOPTS) -o $@ $^ testieee: tstiee.o - $(LOADER) $(LOADOPTS) -o $@ tstiee.o + $(LOADER) $(LOADOPTS) -o $@ $^ testversion: ilaver.o LAPACK_version.o - $(LOADER) $(LOADOPTS) -o $@ ilaver.o LAPACK_version.o + $(LOADER) $(LOADOPTS) -o $@ $^ run: all ./testlsame |