DAMASK_EICMD/Makefile

39 lines
1.2 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
.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
.PHONY: FEM
2016-05-18 11:51:09 +05:30
FEM: build/FEM
@(cd build/FEM; make --no-print-directory -ws all install;)
.PHONY: build/spectral
build/spectral:
@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
.PHONY: build/FEM
build/FEM:
@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} ../../;)
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
processing:
@./installation/symlink_Processing.py ${MAKEFLAGS}