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.

Makeblat1 1.8 kB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667
  1. include ../../make.inc
  2. #######################################################################
  3. # This makefile creates the test programs for the BLAS 1 routines.
  4. # The test files are grouped as follows:
  5. # SBLAT1 -- Single precision real test routines
  6. # CBLAT1 -- Single precision complex test routines
  7. # DBLAT1 -- Double precision real test routines
  8. # ZBLAT1 -- 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. # ../xblat1s, ../xblat1d, ../xblat1c, and ../xblat1z
  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. SBLAT1 = sblat1.o
  30. CBLAT1 = cblat1.o
  31. DBLAT1 = dblat1.o
  32. ZBLAT1 = zblat1.o
  33. all: single double complex complex16
  34. single: ../xblat1s
  35. double: ../xblat1d
  36. complex: ../xblat1c
  37. complex16: ../xblat1z
  38. ../xblat1s: $(SBLAT1)
  39. $(LOADER) $(LOADOPTS) -o $@ $(SBLAT1) $(BLASLIB)
  40. ../xblat1c: $(CBLAT1)
  41. $(LOADER) $(LOADOPTS) -o $@ $(CBLAT1) $(BLASLIB)
  42. ../xblat1d: $(DBLAT1)
  43. $(LOADER) $(LOADOPTS) -o $@ $(DBLAT1) $(BLASLIB)
  44. ../xblat1z: $(ZBLAT1)
  45. $(LOADER) $(LOADOPTS) -o $@ $(ZBLAT1) $(BLASLIB)
  46. $(SBLAT1): $(FRC)
  47. $(CBLAT1): $(FRC)
  48. $(DBLAT1): $(FRC)
  49. $(ZBLAT1): $(FRC)
  50. FRC:
  51. @FRC=$(FRC)
  52. clean:
  53. rm -f *.o
  54. .f.o:
  55. $(FORTRAN) $(OPTS) -c -o $@ $<