2016-05-18 11:51:09 +05:30
|
|
|
SHELL = /bin/sh
|
|
|
|
########################################################################################
|
|
|
|
# Makefile for the installation of DAMASK
|
|
|
|
########################################################################################
|
|
|
|
.PHONY: all
|
2019-03-26 13:57:55 +05:30
|
|
|
all: grid FEM processing
|
|
|
|
|
|
|
|
.PHONY: grid
|
|
|
|
grid: build/grid
|
|
|
|
@(cd build/grid;make -j4 --no-print-directory -ws all install;)
|
2017-03-16 05:13:04 +05:30
|
|
|
|
|
|
|
.PHONY: spectral
|
2019-03-23 13:57:58 +05:30
|
|
|
spectral: build/grid
|
|
|
|
@(cd build/grid;make -j4 --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
|
2018-12-21 13:10:28 +05:30
|
|
|
@(cd build/FEM; make -j4 --no-print-directory -ws all install;)
|
2016-05-18 11:51:09 +05:30
|
|
|
|
2019-03-23 13:57:58 +05:30
|
|
|
.PHONY: build/grid
|
|
|
|
build/grid:
|
|
|
|
@mkdir -p build/grid
|
|
|
|
@(cd build/grid; cmake -Wno-dev -DDAMASK_SOLVER=GRID -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
|
|
|
|
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
|
|
|
|