tahoma2d/thirdparty/superlu/SuperLU_4.1/INSTALL/Makefile
2016-03-24 01:31:57 +09:00

26 lines
682 B
Makefile

include ../make.inc
all: testdlamch testslamch testtimer install.out
testdlamch: dlamch.o lsame.o dlamchtst.o
$(LOADER) $(LOADOPTS) -o testdlamch dlamch.o lsame.o dlamchtst.o
testslamch: slamch.o lsame.o slamchtst.o
$(LOADER) $(LOADOPTS) -o testslamch slamch.o lsame.o slamchtst.o
testtimer: superlu_timer.o timertst.o
$(LOADER) $(LOADOPTS) -o testtimer superlu_timer.o timertst.o
install.out: install.csh
@echo Testing machines parameters and timer
csh install.csh
slamch.o: slamch.c ; $(CC) -c $(NOOPTS) $<
dlamch.o: dlamch.c ; $(CC) -c $(NOOPTS) $<
superlu_timer.o: superlu_timer.c; $(CC) -c $(NOOPTS) $<
.c.o:
$(CC) $(CFLAGS) -c $<
clean:
rm -f *.o test* *.out