!include <..\..\make.inc>
 
#######################################################################
#
#  Sample Windows NT makefile (Watcom Fortran 77)
#
#  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.exe, ../xblat1d.exe, ../xblat1c.exe, and ../xblat1z.exe
#
#  To remove the object files after the executable files have been
#  created, enter
#       make clean
#
#######################################################################

.SUFFIXES: .f .obj .exe .lib

SBLAT1 = sblat1.obj 

CBLAT1 = cblat1.obj 

DBLAT1 = dblat1.obj 

ZBLAT1 = zblat1.obj

all:  single double complex complex16

single: ..\xblat1s.exe
double: ..\xblat1d.exe
complex: ..\xblat1c.exe
complex16: ..\xblat1z.exe

..\xblat1s.exe: $(SBLAT1)
	$(LOADER) NAME $@ FILE $(SBLAT1) LIBRARY $(BLASLIB)

..\xblat1c.exe: $(CBLAT1)
	$(LOADER) NAME $@ FILE $(CBLAT1) LIBRARY $(BLASLIB)
 
..\xblat1d.exe: $(DBLAT1)
	$(LOADER) NAME $@ FILE $(DBLAT1) LIBRARY $(BLASLIB)
 
..\xblat1z.exe: $(ZBLAT1) 
	$(LOADER) NAME $@ FILE $(ZBLAT1) LIBRARY $(BLASLIB)
 
clean:
	del *.obj
 
.f.obj: 
	$(FORTRAN) $(OPTS) -FO= $*.f
