Makefile 2.03 KB
Newer Older
Cody Permann's avatar
Cody Permann committed
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20
###############################################################################
################### MOOSE Application Standard Makefile #######################
###############################################################################
#
# Optional Environment variables
# MOOSE_DIR     - Root directory of the MOOSE project
# FRAMEWORK_DIR - Location of the MOOSE framework
#
###############################################################################
EXAMPLE_DIR        ?= $(shell dirname `pwd`)
MOON_DIR           ?= $(shell dirname $(EXAMPLE_DIR))
MOOSE_DIR          ?= $(MOON_DIR)/moose
FRAMEWORK_DIR      ?= $(MOOSE_DIR)/framework
###############################################################################

# framework
include $(FRAMEWORK_DIR)/build.mk
include $(FRAMEWORK_DIR)/moose.mk

################################## MODULES ####################################
21 22 23
CHEMICAL_REACTIONS  := no
CONTACT             := no
FLUID_PROPERTIES    := no
24
HEAT_CONDUCTION     := yes
25 26 27 28 29 30 31 32 33 34 35 36
MISC                := no
NAVIER_STOKES       := no
PHASE_FIELD         := no
RDG                 := no
RICHARDS            := no
SOLID_MECHANICS     := no
STOCHASTIC_TOOLS    := no
TENSOR_MECHANICS    := no
WATER_STEAM_EOS     := no
XFEM                := no
POROUS_FLOW         := no

Cody Permann's avatar
Cody Permann committed
37 38 39 40
include           $(MOOSE_DIR)/modules/modules.mk
###############################################################################

# nek
41
include            nek.mk
Cody Permann's avatar
Cody Permann committed
42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58

# moon
APPLICATION_DIR    := $(MOON_DIR)
APPLICATION_NAME   := moon
DEP_APPS           := $(shell $(FRAMEWORK_DIR)/scripts/find_dep_apps.py $(APPLICATION_NAME))
include            $(FRAMEWORK_DIR)/app.mk

# case
APPLICATION_DIR    := $(CURDIR)
APPLICATION_NAME   := $(shell basename $(APPLICATION_DIR))
MAIN_DIR           := $(MOON_DIR)/src
BUILD_EXEC         := yes
DEP_APPS           := $(shell $(FRAMEWORK_DIR)/scripts/find_dep_apps.py $(APPLICATION_NAME))
include            $(FRAMEWORK_DIR)/app.mk

###############################################################################
# Additional special case targets should be added here