-
Notifications
You must be signed in to change notification settings - Fork 7
/
Copy pathMakefile.in
45 lines (40 loc) · 1.74 KB
/
Makefile.in
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
###############################################################################
################### MOOSE Application Standard Makefile #######################
###############################################################################
#
# Optional Environment variables
# MOOSE_DIR - Root directory of the MOOSE project
# HERD_TRUNK_DIR - Location of the HERD repository
# FRAMEWORK_DIR - Location of the MOOSE framework
#
###############################################################################
MOOSE_DIR ?= $(shell dirname `pwd`)/moose
FRAMEWORK_DIR ?= $(MOOSE_DIR)/framework
ifndef APPLICATION_DIR
FERRET_DIR := $(shell pwd)
else
FERRET_DIR := $(APPLICATION_DIR)
endif
###############################################################################
# framework
include $(FRAMEWORK_DIR)/build.mk
include $(FRAMEWORK_DIR)/moose.mk
################################## MODULES ####################################
TENSOR_MECHANICS := yes
PHASE_FIELD := yes
MISC := yes
include $(MOOSE_DIR)/modules/modules.mk
###############################################################################
# dep apps
# Observe that APPLICATION_DIR is defined, but incorrectly -- left over from the
# modules.mk definitions. Must define it explicitly, that's why we have a stashed
# FERRET_DIR around.
APPLICATION_DIR := $(FERRET_DIR)
APPLICATION_NAME := ferret
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
app_INCLUDES += @BOOST_INCLUDE_PATH@
app_INCLUDES += @SCALFMM_INCLUDE_PATH@