xref: /petsc/GNUmakefile (revision ccb4e88a40f0b86eaeca07ff64c64e4de2fae686) !
1#
2#   This file allows the high level PETSc make commands to be run if gnuumake is the default make without setting the PETSC_DIR.
3#   This will prevent errors for the subset of users who run make all without first setting PETSC_DIR which results in wasteful email to the PETSc Team
4
5include petscdir.mk
6
7# Default target
8all :
9	+@$(MAKE) -f makefile --no-print-directory $@
10
11ifeq ($(firstword $(sort 4.1.99 $(MAKE_VERSION))),4.1.99)
12include gmakefile
13endif
14
15# For any target that doesn't exist in gmakefile, use the legacy makefile (which has the logging features)
16% :
17	+@$(MAKE) -f makefile --no-print-directory $@
18