1e19f88dfSBarry Smith# 2e19f88dfSBarry Smith# This file allows the high level PETSc make commands to be run if gnuumake is the default make without setting the PETSC_DIR. 3e19f88dfSBarry Smith# 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 4e19f88dfSBarry Smith 5e19f88dfSBarry Smithinclude petscdir.mk 6e19f88dfSBarry Smith 7*0e03b746SBarry Smith# Default target 8*0e03b746SBarry Smithall : 9*0e03b746SBarry Smith +@$(MAKE) -f makefile --no-print-directory $@ 10*0e03b746SBarry Smith 11*0e03b746SBarry Smithifeq ($(firstword $(sort 4.1.99 $(MAKE_VERSION))),4.1.99) 12*0e03b746SBarry Smithinclude gmakefile 13*0e03b746SBarry Smithendif 14*0e03b746SBarry Smith 15*0e03b746SBarry Smith# For any target that doesn't exist in gmakefile, use the legacy makefile (which has the logging features) 16*0e03b746SBarry Smith% : 17*0e03b746SBarry Smith +@$(MAKE) -f makefile --no-print-directory $@ 18