DAMASK_EICMD/Makefile

34 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
2018-10-16 01:35:44 +05:30
all: spectral FEM processing
.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
.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
.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} ../../;)
2016-05-18 11:51:09 +05:30
.PHONY: clean
clean:
@rm -rf build
.PHONY: processing
processing:
@./installation/symlink_Processing.py ${MAKEFLAGS}