2016-05-18 11:51:09 +05:30
|
|
|
SHELL = /bin/sh
|
|
|
|
########################################################################################
|
|
|
|
# Makefile for the installation of DAMASK
|
|
|
|
########################################################################################
|
|
|
|
.PHONY: all
|
2017-02-04 03:53:55 +05:30
|
|
|
all: spectral FEM marc processing
|
2017-03-16 05:13:04 +05:30
|
|
|
|
|
|
|
.PHONY: spectral
|
2016-05-18 11:51:09 +05:30
|
|
|
spectral: build/spectral
|
2017-05-05 20:50:22 +05:30
|
|
|
@(cd build/spectral;make --no-print-directory -ws all install;)
|
2016-05-18 11:51:09 +05:30
|
|
|
|
2017-03-16 05:13:04 +05:30
|
|
|
.PHONY: FEM
|
2016-05-18 11:51:09 +05:30
|
|
|
FEM: build/FEM
|
|
|
|
@(cd build/FEM; make --no-print-directory -ws all install;)
|
|
|
|
|
2017-03-16 05:13:04 +05:30
|
|
|
.PHONY: build/spectral
|
|
|
|
build/spectral:
|
2017-02-04 03:53:55 +05:30
|
|
|
@mkdir -p build/spectral
|
2017-02-04 05:31:42 +05:30
|
|
|
@(cd build/spectral; cmake -Wno-dev -DDAMASK_SOLVER=SPECTRAL -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
|
|
|
|
2017-03-16 05:13:04 +05:30
|
|
|
.PHONY: build/FEM
|
|
|
|
build/FEM:
|
2017-02-04 03:53:55 +05:30
|
|
|
@mkdir -p build/FEM
|
2017-02-04 05:31:42 +05:30
|
|
|
@(cd build/FEM; cmake -Wno-dev -DDAMASK_SOLVER=FEM -DCMAKE_BUILD_TYPE=${BUILD_TYPE} -DBUILDCMD_POST=${BUILDCMD_POST} -DBUILDCMD_PRE=${BUILDCMD_PRE} -DOPTIMIZATION=${OPTIMIZATION} -DOPENMP=${OPENMP} ../../;)
|
2017-02-04 03:53:55 +05:30
|
|
|
|
2014-01-24 18:00:27 +05:30
|
|
|
.PHONY: marc
|
2014-01-11 18:16:30 +05:30
|
|
|
marc:
|
2014-01-22 21:33:27 +05:30
|
|
|
@./installation/mods_MarcMentat/apply_DAMASK_modifications.sh ${MAKEFLAGS}
|
2014-01-11 18:16:30 +05:30
|
|
|
|
2016-05-18 11:51:09 +05:30
|
|
|
.PHONY: clean
|
|
|
|
clean:
|
2017-02-04 03:53:55 +05:30
|
|
|
@rm -rf build
|
2014-01-11 18:16:30 +05:30
|
|
|
|
2017-02-04 03:53:55 +05:30
|
|
|
.PHONY: processing
|
2017-03-16 05:13:04 +05:30
|
|
|
processing:
|
2014-01-15 04:03:15 +05:30
|
|
|
@./installation/symlink_Processing.py ${MAKEFLAGS}
|
2014-01-11 18:16:30 +05:30
|
|
|
|