Commit 310959c1 authored by Ron Rahaman's avatar Ron Rahaman

Created working Makefile.in.

TODO: The library and executables are put in the moon source directory.
Might be better if they were in the build directory
parent 381213a9
###############################################################################
MOON MAKEFILE
# MOON MAKEFILE
###############################################################################
#
# Optional Environment variables
......@@ -7,9 +7,9 @@
# FRAMEWORK_DIR - Location of the MOOSE framework
#
###############################################################################
MOON_DIR ?= $(shell dirname $(dirname $(pwd)))
MOOSE_DIR ?= $(MOON_DIR)/moose
FRAMEWORK_DIR ?= $(MOOSE_DIR)/framework
MOON_DIR := @abs_srcdir@
MOOSE_DIR := @MOOSE_DIR@
FRAMEWORK_DIR := @MOOSE_DIR@/framework
###############################################################################
# framework
......@@ -17,33 +17,24 @@ include $(FRAMEWORK_DIR)/build.mk
include $(FRAMEWORK_DIR)/moose.mk
################################## MODULES ####################################
CHEMICAL_REACTIONS := no
SOLID_MECHANICS := no
CONTACT := no
FLUID_PROPERTIES := no
HEAT_CONDUCTION := yes
WATER_STEAM_EOS := no
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
include $(MOOSE_DIR)/modules/modules.mk
################################## MOON ########################################
# nek
include moon.mk
APPLICATION_DIR := $(CURDIR)
APPLICATION_NAME := $(CASENAME)
MAIN_DIR := $(MOON_DIR)/src
APPLICATION_DIR := $(MOON_DIR)
APPLICATION_NAME := moon-$(subst _,-,$(CASENAME))
MAIN_DIR := $(APPLICATION_DIR)/src
BUILD_EXEC := yes
DEP_APPS := $(shell $(FRAMEWORK_DIR)/scripts/find_dep_apps.py $(APPLICATION_NAME))
DEP_APPS := $(shell $(FRAMEWORK_DIR)/scripts/find_dep_apps.py integration_example)
include $(FRAMEWORK_DIR)/app.mk
###############################################################################
......
......@@ -524,6 +524,6 @@ fi
# ALL DONE!
###############################################################################
AC_CONFIG_FILES([moon.mk:moon.mk.in])
AC_CONFIG_FILES([moon.mk Makefile])
AC_OUTPUT
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment