1e19f88dfSBarry Smith# 2*40a841f6SBarry Smith# This file allows the PETSc make commands in makefile to be run if gnumake is the default make without setting the PETSC_DIR. 3*40a841f6SBarry Smith# gnumake defaults to using GNUmakefile before makefile 4e19f88dfSBarry Smith 5e19f88dfSBarry Smithinclude petscdir.mk 6e19f88dfSBarry Smith 7*40a841f6SBarry Smith# Target to build (update) the PETSc libraries 80e03b746SBarry Smithall : 90e03b746SBarry Smith +@$(MAKE) -f makefile --no-print-directory $@ 100e03b746SBarry Smith 110e03b746SBarry Smithifeq ($(firstword $(sort 4.1.99 $(MAKE_VERSION))),4.1.99) 120e03b746SBarry Smithinclude gmakefile 130e03b746SBarry Smithendif 140e03b746SBarry Smith 150e03b746SBarry Smith# For any target that doesn't exist in gmakefile, use the legacy makefile (which has the logging features) 160e03b746SBarry Smith% : 170e03b746SBarry Smith +@$(MAKE) -f makefile --no-print-directory $@ 18