# top-level Makefile for the NAB suite of programs include config.h all: install install: -mkdir $(BINDIR) $(LIBDIR) $(INCDIR) (cd clapack; env NABHOME=.. make $(LAPACK) ) (cd cblas; env NABHOME=.. make $(BLAS) ) (cd f2c; env NABHOME=.. make $(F2C) ) (cd cifparse; env NABHOME=.. make install ) (cd src; env NABHOME=.. make install ) (cd nss; env NABHOME=.. make install ) (cd tleap; env NABHOME=.. make install ) # (cd peptide && \ # env NABHOME=.. ../bin/nab $(CFLAGS) -o peptide peptide.nab ) # cp -p peptide/README doc/README-peptide # mv peptide/peptide bin # @echo # @echo "Ignore conflicting types warnings" # @echo # (cd suppose; env NABHOME=.. make all ) # cp -p suppose/suppose.1 doc # mv suppose/suppose suppose/PCA_suppose bin @echo @echo "completed installation of NAB version 5.1" @echo clean: (cd cifparse; make clean ) (cd src; make clean ) (cd nss; make clean ) (cd tleap; make clean ) (cd cblas; make clean ) (cd clapack; make clean ) (cd f2c; make clean ) (cd suppose; make clean ) (cd peptide && rm -f peptide.c peptide ) # note: "make test" needs to follow "make", since it is very hard to # tell if the compiler is completely "made" or not. test:: (cd test; env NABHOME=.. make test) (cd nss; env NABHOME=.. make test)