DAMASK_EICMD/Makefile

52 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
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
spectral:
$(MAKE) DAMASK_spectral.exe -C code
.PHONY: FEM
FEM:
$(MAKE) DAMASK_FEM.exe -C code
2014-01-24 18:00:27 +05:30
.PHONY: marc
marc:
2014-01-22 21:33:27 +05:30
@./installation/mods_MarcMentat/apply_DAMASK_modifications.sh ${MAKEFLAGS}
2017-02-03 23:58:23 +05:30
2014-01-24 18:00:27 +05:30
.PHONY: tidy
tidy:
@$(MAKE) tidy -C code >/dev/null
2016-05-18 11:51:09 +05:30
.PHONY: clean
clean:
@$(MAKE) cleanDAMASK -C code >/dev/null
2014-01-24 18:00:27 +05:30
.PHONY: install
install:
@./installation/symlink_Code.py ${MAKEFLAGS}
@./installation/symlink_Processing.py ${MAKEFLAGS}