You can not select more than 25 topics Topics must start with a chinese character,a letter or number, can include dashes ('-') and can be up to 35 characters long.

Makefile 1.1 kB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950
  1. include ../make.inc
  2. all: testlsame testslamch testdlamch testsecond testdsecnd testieee testversion
  3. testlsame: lsame.o lsametst.o
  4. $(LOADER) $(LOADOPTS) -o $@ $^
  5. testslamch: slamch.o lsame.o slamchtst.o
  6. $(LOADER) $(LOADOPTS) -o $@ $^
  7. testdlamch: dlamch.o lsame.o dlamchtst.o
  8. $(LOADER) $(LOADOPTS) -o $@ $^
  9. testsecond: second_$(TIMER).o secondtst.o
  10. @echo "[INFO] : TIMER value: $(TIMER) (given by make.inc)"
  11. $(LOADER) $(LOADOPTS) -o $@ $^
  12. testdsecnd: dsecnd_$(TIMER).o dsecndtst.o
  13. @echo "[INFO] : TIMER value: $(TIMER) (given by make.inc)"
  14. $(LOADER) $(LOADOPTS) -o $@ $^
  15. testieee: tstiee.o
  16. $(LOADER) $(LOADOPTS) -o $@ $^
  17. testversion: ilaver.o LAPACK_version.o
  18. $(LOADER) $(LOADOPTS) -o $@ $^
  19. run: all
  20. ./testlsame
  21. ./testslamch
  22. ./testdlamch
  23. ./testsecond
  24. ./testdsecnd
  25. ./testieee
  26. ./testversion
  27. clean: cleanobj cleanexe cleantest
  28. cleanobj:
  29. rm -f *.o
  30. cleanexe:
  31. rm -f test*
  32. cleantest:
  33. rm -f core
  34. .SUFFIXES: .o .f
  35. .f.o:
  36. $(FORTRAN) $(OPTS) -c -o $@ $<
  37. slamch.o: slamch.f ; $(FORTRAN) $(NOOPT) -c -o $@ $<
  38. dlamch.o: dlamch.f ; $(FORTRAN) $(NOOPT) -c -o $@ $<