75 lines
		
	
	
		
			1.9 KiB
		
	
	
	
		
			Plaintext
		
	
	
	
			
		
		
	
	
			75 lines
		
	
	
		
			1.9 KiB
		
	
	
	
		
			Plaintext
		
	
	
	
| include ../../make.inc
 | |
|  
 | |
| #######################################################################
 | |
| #  This makefile creates the test programs for the BLAS 1 routines.
 | |
| #  The test files are grouped as follows:
 | |
| #       SBLAT1 -- Single precision real test routines
 | |
| #       CBLAT1 -- Single precision complex test routines
 | |
| #       DBLAT1 -- Double precision real test routines
 | |
| #       ZBLAT1 -- Double precision complex test routines
 | |
| #
 | |
| #  Test programs can be generated for all or some of the four different
 | |
| #  precisions.  To create the test programs, enter make followed by one
 | |
| #  or more of the precisions desired.  Some examples:
 | |
| #       make single
 | |
| #       make single complex
 | |
| #       make single double complex complex16
 | |
| #  Alternatively, the command
 | |
| #       make
 | |
| #  without any arguments creates all four test programs.
 | |
| #  The executable files which are created are called
 | |
| #       ../xblat1s, ../xblat1d, ../xblat1c, and ../xblat1z
 | |
| #
 | |
| #  To remove the object files after the executable files have been
 | |
| #  created, enter
 | |
| #       make clean
 | |
| #  To force the source files to be recompiled, enter, for example,
 | |
| #       make single FRC=FRC
 | |
| #
 | |
| #######################################################################
 | |
| 
 | |
| SBLAT1 = sblat1.o 
 | |
| 
 | |
| CBLAT1 = cblat1.o 
 | |
| 
 | |
| DBLAT1 = dblat1.o 
 | |
| 
 | |
| ZBLAT1 = zblat1.o
 | |
| 
 | |
| all:  single double complex complex16
 | |
| 
 | |
| single: ../xblat1s
 | |
| double: ../xblat1d
 | |
| complex: ../xblat1c
 | |
| complex16: ../xblat1z
 | |
| 
 | |
| ../xblat1s: $(SBLAT1)
 | |
| 	$(LOADER) $(LOADOPTS) $(SBLAT1) \
 | |
|         $(BLASLIB)  -o ../xblat1s
 | |
| 
 | |
| ../xblat1c: $(CBLAT1) 
 | |
| 	$(LOADER) $(LOADOPTS) $(CBLAT1) \
 | |
|         $(BLASLIB)  -o ../xblat1c
 | |
|  
 | |
| ../xblat1d: $(DBLAT1) 
 | |
| 	$(LOADER) $(LOADOPTS) $(DBLAT1) \
 | |
|         $(BLASLIB)  -o ../xblat1d
 | |
|  
 | |
| ../xblat1z: $(ZBLAT1) 
 | |
| 	$(LOADER) $(LOADOPTS) $(ZBLAT1) \
 | |
|         $(BLASLIB)  -o ../xblat1z
 | |
|  
 | |
| $(SBLAT1): $(FRC)
 | |
| $(CBLAT1): $(FRC)
 | |
| $(DBLAT1): $(FRC)
 | |
| $(ZBLAT1): $(FRC)
 | |
|  
 | |
| FRC:
 | |
| 	@FRC=$(FRC)
 | |
|  
 | |
| clean:
 | |
| 	rm -f *.o
 | |
|  
 | |
| .f.o: 
 | |
| 	$(FORTRAN) $(OPTS) -c $< -o $@
 |