DAMASK_EICMD/Makefile

41 lines
1.1 KiB
Makefile
Raw Normal View History

2016-05-18 11:51:09 +05:30
SHELL = /bin/sh
########################################################################################
# Makefile for the installation of DAMASK
########################################################################################
.PHONY: all
all: spectral FEM marc processing
2016-05-18 11:51:09 +05:30
spectral: build/spectral
@(cd build/spectral;make --no-print-directory -ws all install VERBOSE=1;)
2016-05-18 11:51:09 +05:30
FEM: build/FEM
@(cd build/FEM; make --no-print-directory -ws all install;)
OPTIONS="-Wno-dev -DCMAKE_BUILD_TYPE=${BUILD_TYPE} -DBUILDCMD_POST=${BUILDCMD_POST} -DBUILDCMD_PRE={BUILDCMD_PRE} -DOPTIMIZATION=${OPTIMIZATION} -DOPENMP=${OPENMP}"
2017-02-04 01:05:32 +05:30
build/spectral: build
@mkdir -p build/spectral
@(cd build/spectral; cmake -DDAMASK_SOLVER=SPECTRAL ${OPTIONS} ../..;)
2017-02-04 01:05:32 +05:30
build/FEM: build
@mkdir -p build/FEM
@(cd build/FEM; cmake -DDAMASK_SOLVER=FEM ${OPTIONS} ../..;)
build:
@mkdir -p build
2014-01-24 18:00:27 +05:30
.PHONY: marc
marc:
@./installation/symLink_Code.sh
2014-01-22 21:33:27 +05:30
@./installation/mods_MarcMentat/apply_DAMASK_modifications.sh ${MAKEFLAGS}
2016-05-18 11:51:09 +05:30
.PHONY: clean
clean:
@rm -rf build
.PHONY: processing
install:
@./installation/symlink_Processing.py ${MAKEFLAGS}