#
#  Sample Windows NT makefile (nmake) and Watcom Fortran 77
#

!include <../make.inc>

.SUFFIXES: .f .obj .exe

all:  testlsame.exe testslamch.exe testdlamch.exe testsecond.exe testdsecnd.exe testieee.exe

testlsame.exe:  lsame.obj lsametst.obj
	$(LOADER) NAME testlsame.exe FILE lsame.obj, lsametst.obj

testslamch.exe: slamch.obj lsame.obj slamchtst.obj
	$(LOADER) NAME testslamch.exe FILE slamch.obj, lsame.obj, slamchtst.obj

testdlamch.exe: dlamch.obj lsame.obj dlamchtst.obj
	$(LOADER) NAME testdlamch.exe FILE dlamch.obj, lsame.obj, dlamchtst.obj

testsecond.exe: second.obj secondtst.obj
	$(LOADER) NAME $@ FILE second.obj, secondtst.obj

testdsecnd.exe: dsecnd.obj dsecndtst.obj
	$(LOADER) NAME testdsecnd.exe FILE dsecnd.obj, dsecndtst.obj

testieee.exe: tstiee.obj
	$(LOADER) NAME testieee.exe FILE tstiee.obj

clean:
	del *.obj

slamch.obj: slamch.f ; $(FORTRAN) $(NOOPT) -DO -FO= slamch.f
dlamch.obj: dlamch.f ; $(FORTRAN) $(NOOPT) -DO -FO= dlamch.f

.f.obj: ; $(FORTRAN) $(OPTS) -FO= $<
