Blame src/ftests/Makefile
|
Packit |
577717 |
# File: ftests/Makefile
|
|
Packit |
577717 |
|
|
Packit |
577717 |
include Makefile.target
|
|
Packit |
577717 |
|
|
Packit |
577717 |
INCLUDE = -I../testlib -I. -I..
|
|
Packit |
577717 |
FFLAGS = $(CFLAGS) -ffixed-line-length-132
|
|
Packit |
577717 |
testlibdir=../testlib
|
|
Packit |
577717 |
TESTLIB= $(testlibdir)/libtestlib.a
|
|
Packit |
577717 |
DOLOOPS= $(testlibdir)/do_loops.o
|
|
Packit |
577717 |
|
|
Packit |
577717 |
ifneq ($(F77),)
|
|
Packit |
577717 |
include Makefile.recipies
|
|
Packit |
577717 |
|
|
Packit |
577717 |
install: default
|
|
Packit |
577717 |
@echo "Fortran tests (DATADIR) being installed in: \"$(DATADIR)\"";
|
|
Packit |
577717 |
-mkdir -p $(DATADIR)/ftests
|
|
Packit |
577717 |
-chmod go+rx $(DATADIR)
|
|
Packit |
577717 |
-chmod go+rx $(DATADIR)/ftests
|
|
Packit |
577717 |
-find . -perm -100 -type f -exec cp {} $(DATADIR)/ftests \;
|
|
Packit |
577717 |
-chmod go+rx $(DATADIR)/ftests/*
|
|
Packit |
577717 |
-find . -name "*.[Ffh]" -type f -exec cp {} $(DATADIR)/ftests \;
|
|
Packit |
577717 |
-cp Makefile.target $(DATADIR)/ftests/Makefile
|
|
Packit |
577717 |
-cat Makefile.recipies >> $(DATADIR)/ftests/Makefile
|
|
Packit |
577717 |
|
|
Packit |
577717 |
else
|
|
Packit |
577717 |
all:
|
|
Packit |
577717 |
@echo "Install Fortran compiler to build and run Fortran tests"
|
|
Packit |
577717 |
|
|
Packit |
577717 |
install:
|
|
Packit |
577717 |
@echo "No Fortran tests to install."
|
|
Packit |
577717 |
endif
|