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.

Makeblat2 1.9 kB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374
  1. include ../../make.inc
  2. #######################################################################
  3. # This makefile creates the test programs for the BLAS 2 routines.
  4. # The test files are grouped as follows:
  5. # SBLAT2 -- Single precision real test routines
  6. # CBLAT2 -- Single precision complex test routines
  7. # DBLAT2 -- Double precision real test routines
  8. # ZBLAT2 -- 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. # ../xblat2s, ../xblat2d, ../xblat2c, and ../xblat2z
  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. SBLAT2 = sblat2.o
  30. CBLAT2 = cblat2.o
  31. DBLAT2 = dblat2.o
  32. ZBLAT2 = zblat2.o
  33. all: single double complex complex16
  34. single: ../xblat2s
  35. double: ../xblat2d
  36. complex: ../xblat2c
  37. complex16: ../xblat2z
  38. ../xblat2s: $(SBLAT2)
  39. $(LOADER) $(LOADOPTS) $(SBLAT2) \
  40. $(BLASLIB) -o ../xblat2s
  41. ../xblat2c: $(CBLAT2)
  42. $(LOADER) $(LOADOPTS) $(CBLAT2) \
  43. $(BLASLIB) -o ../xblat2c
  44. ../xblat2d: $(DBLAT2)
  45. $(LOADER) $(LOADOPTS) $(DBLAT2) \
  46. $(BLASLIB) -o ../xblat2d
  47. ../xblat2z: $(ZBLAT2)
  48. $(LOADER) $(LOADOPTS) $(ZBLAT2) \
  49. $(BLASLIB) -o ../xblat2z
  50. $(SBLAT2): $(FRC)
  51. $(CBLAT2): $(FRC)
  52. $(DBLAT2): $(FRC)
  53. $(ZBLAT2): $(FRC)
  54. FRC:
  55. @FRC=$(FRC)
  56. clean:
  57. rm -f *.o
  58. .f.o:
  59. $(FORTRAN) $(OPTS) -c $< -o $@