-
Notifications
You must be signed in to change notification settings - Fork 1.1k
/
Copy pathMakefile
37 lines (33 loc) · 1.41 KB
/
Makefile
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
###############################################################################
################### MOOSE Application Standard Makefile #######################
###############################################################################
#
# Optional Environment variables
# MOOSE_DIR - Root directory of the MOOSE project
# FRAMEWORK_DIR - Location of the MOOSE framework
#
###############################################################################
MOOSE_DIR ?= $(shell dirname `pwd`)
FRAMEWORK_DIR ?= $(MOOSE_DIR)/framework
ADDITIONAL_CPPFLAGS += -Wall -Wextra
###############################################################################
# framework
include $(FRAMEWORK_DIR)/build.mk
include $(FRAMEWORK_DIR)/moose.mk
# dep apps
APPLICATION_DIR := $(MOOSE_DIR)/test
APPLICATION_NAME := moose_test
BUILD_EXEC := yes
BUILD_TEST_OBJECTS_LIB := no
GEN_REVISION := no
include $(FRAMEWORK_DIR)/app.mk
###############################################################################
# Additional special case targets should be added here
MOOSE_DOCS_DIR ?= $(MOOSE_DIR)/site
test_doc: all
@echo ======================================================
@echo Testing MooseDocs for the framework and MooseTestApp
@echo ======================================================
@(ret_val=0; \
cd doc && ./moosedocs.py build --destination=$(MOOSE_DOCS_DIR) || ret_val=1; \
exit $$ret_val;)