Skip to content

Commit

Permalink
simpilify moose fetch
Browse files Browse the repository at this point in the history
  • Loading branch information
aprilnovak committed Jun 6, 2024
1 parent 136d86d commit 0186661
Showing 1 changed file with 1 addition and 8 deletions.
9 changes: 1 addition & 8 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -62,14 +62,7 @@ endif

CARDINAL_DIR := $(abspath $(dir $(word $(words $(MAKEFILE_LIST)),$(MAKEFILE_LIST))))
CONTRIB_DIR := $(CARDINAL_DIR)/contrib

# Use the MOOSE submodule if it exists and MOOSE_DIR is not set
MOOSE_SUBMODULE ?= $(CONTRIB_DIR)/moose
ifneq ($(wildcard $(MOOSE_SUBMODULE)/framework/Makefile),)
MOOSE_DIR ?= $(MOOSE_SUBMODULE)
else
MOOSE_DIR ?= $(shell dirname `pwd`)/moose
endif
MOOSE_DIR ?= $(CONTRIB_DIR)/moose

PETSC_DIR ?= $(MOOSE_DIR)/petsc
PETSC_ARCH ?= arch-moose
Expand Down

0 comments on commit 0186661

Please sign in to comment.