2016-05-18 11:51:09 +05:30
|
|
|
SHELL = /bin/sh
|
|
|
|
########################################################################################
|
|
|
|
# Makefile for the installation of DAMASK
|
|
|
|
########################################################################################
|
|
|
|
.PHONY: all
|
2017-02-03 23:58:23 +05:30
|
|
|
all: spectral FEM marc
|
2016-05-18 11:51:09 +05:30
|
|
|
spectral: build/spectral
|
2016-05-21 20:21:12 +05:30
|
|
|
@(cd build/spectral; make --no-print-directory -ws all install VERBOSE=1;)
|
2016-05-18 11:51:09 +05:30
|
|
|
|
|
|
|
build/spectral: build
|
|
|
|
@mkdir build/spectral
|
2016-05-21 20:21:12 +05:30
|
|
|
@(cd build/spectral; cmake -Wno-dev -DCMAKE_BUILD_TYPE=RELEASE -DDAMASK_SOLVER=SPECTRAL ../..;)
|
2016-05-18 11:51:09 +05:30
|
|
|
|
|
|
|
build: bin
|
|
|
|
@mkdir build
|
|
|
|
|
|
|
|
bin:
|
|
|
|
@mkdir bin
|
|
|
|
|
|
|
|
FEM: build/FEM
|
|
|
|
@(cd build/FEM; make --no-print-directory -ws all install;)
|
|
|
|
|
|
|
|
build/FEM: build
|
|
|
|
@mkdir build
|
2016-05-21 20:21:12 +05:30
|
|
|
@(cd build/FEM; cmake -Wno-dev -DCMAKE_BUILD_TYPE=RELEASE -DDAMASK_SOLVER=FEM ../..;)
|
2014-01-24 18:00:27 +05:30
|
|
|
.PHONY: spectral
|
2014-01-11 18:16:30 +05:30
|
|
|
spectral:
|
2014-08-25 03:37:53 +05:30
|
|
|
$(MAKE) DAMASK_spectral.exe -C code
|
|
|
|
|
|
|
|
.PHONY: FEM
|
|
|
|
FEM:
|
|
|
|
$(MAKE) DAMASK_FEM.exe -C code
|
2014-01-11 18:16:30 +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
|
|
|
|
2017-02-03 23:58:23 +05:30
|
|
|
|
2014-01-24 18:00:27 +05:30
|
|
|
.PHONY: tidy
|
2015-07-30 00:53:06 +05:30
|
|
|
tidy:
|
2014-01-11 18:16:30 +05:30
|
|
|
@$(MAKE) tidy -C code >/dev/null
|
2016-05-18 11:51:09 +05:30
|
|
|
|
|
|
|
.PHONY: clean
|
|
|
|
clean:
|
2015-11-14 15:17:18 +05:30
|
|
|
@$(MAKE) cleanDAMASK -C code >/dev/null
|
2014-01-11 18:16:30 +05:30
|
|
|
|
2014-01-24 18:00:27 +05:30
|
|
|
.PHONY: install
|
2014-01-11 18:16:30 +05:30
|
|
|
install:
|
2014-01-15 04:03:15 +05:30
|
|
|
@./installation/symlink_Code.py ${MAKEFLAGS}
|
|
|
|
@./installation/symlink_Processing.py ${MAKEFLAGS}
|
2014-01-11 18:16:30 +05:30
|
|
|
|