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.

Makeblat3 1.9 kB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374
  1. include ../../make.inc
  2. #######################################################################
  3. # This makefile creates the test programs for the BLAS 3 routines.
  4. # The test files are grouped as follows:
  5. # SBLAT3 -- Single precision real test routines
  6. # CBLAT3 -- Single precision complex test routines
  7. # DBLAT3 -- Double precision real test routines
  8. # ZBLAT3 -- Double precision complex test routines
  9. #
  10. # Test programs can be generated for all or some of the four different
  11. # precisions. To create the test programs, enter make followed by one
  12. # or more of the precisions desired. Some examples:
  13. # make single
  14. # make single complex
  15. # make single double complex complex16
  16. # Alternatively, the command
  17. # make
  18. # without any arguments creates all four test programs.
  19. # The executable files which are created are called
  20. # ../xblat3s, ../xblat3d, ../xblat3c, and ../xblat3z
  21. #
  22. # To remove the object files after the executable files have been
  23. # created, enter
  24. # make clean
  25. # To force the source files to be recompiled, enter, for example,
  26. # make single FRC=FRC
  27. #
  28. #######################################################################
  29. SBLAT3 = sblat3.o
  30. CBLAT3 = cblat3.o
  31. DBLAT3 = dblat3.o
  32. ZBLAT3 = zblat3.o
  33. all: single double complex complex16
  34. single: ../xblat3s
  35. double: ../xblat3d
  36. complex: ../xblat3c
  37. complex16: ../xblat3z
  38. ../xblat3s: $(SBLAT3)
  39. $(LOADER) $(LOADOPTS) $(SBLAT3) \
  40. $(BLASLIB) -o ../xblat3s
  41. ../xblat3c: $(CBLAT3)
  42. $(LOADER) $(LOADOPTS) $(CBLAT3) \
  43. $(BLASLIB) -o ../xblat3c
  44. ../xblat3d: $(DBLAT3)
  45. $(LOADER) $(LOADOPTS) $(DBLAT3) \
  46. $(BLASLIB) -o ../xblat3d
  47. ../xblat3z: $(ZBLAT3)
  48. $(LOADER) $(LOADOPTS) $(ZBLAT3) \
  49. $(BLASLIB) -o ../xblat3z
  50. $(SBLAT3): $(FRC)
  51. $(CBLAT3): $(FRC)
  52. $(DBLAT3): $(FRC)
  53. $(ZBLAT3): $(FRC)
  54. FRC:
  55. @FRC=$(FRC)
  56. clean:
  57. rm -f *.o
  58. .f.o:
  59. $(FORTRAN) $(OPTS) -c $< -o $@