2016-03-06 02:14:30 +05:30
|
|
|
SHELL = /bin/sh
|
|
|
|
########################################################################################
|
|
|
|
# Makefile for the installation of DAMASK
|
|
|
|
########################################################################################
|
|
|
|
.PHONY: all
|
2016-04-19 04:02:08 +05:30
|
|
|
all: spectral FEM
|
2016-03-06 02:14:30 +05:30
|
|
|
|
2016-04-20 00:22:36 +05:30
|
|
|
spectral: build/spectral
|
2016-04-20 18:09:40 +05:30
|
|
|
@(cd build/spectral; make --no-print-directory -ws all install;)
|
2016-04-20 00:22:36 +05:30
|
|
|
|
|
|
|
build/spectral: build
|
|
|
|
@mkdir build/spectral
|
2016-05-07 03:56:03 +05:30
|
|
|
@(cd build/spectral; cmake -Wno-dev -DCMAKE_BUILD_TYPE=RELEASE -DDAMASK_DRIVER=SPECTRAL -DOPTIMIZATION=AGGRESSIVE -DDAMASK_INSTALL=${HOME}/bin ../..;)
|
2016-04-20 00:22:36 +05:30
|
|
|
|
2016-04-20 01:34:13 +05:30
|
|
|
build: bin
|
2016-04-20 00:22:36 +05:30
|
|
|
@mkdir build
|
|
|
|
|
2016-04-20 01:34:13 +05:30
|
|
|
bin:
|
|
|
|
@mkdir bin
|
2016-03-06 02:14:30 +05:30
|
|
|
|
2016-04-20 01:34:13 +05:30
|
|
|
FEM: build/FEM
|
2016-04-20 18:09:40 +05:30
|
|
|
@(cd build/FEM; make --no-print-directory -ws all install;)
|
2016-03-06 02:14:30 +05:30
|
|
|
|
2016-04-20 01:34:13 +05:30
|
|
|
build/FEM: build
|
|
|
|
@mkdir build
|
2016-04-20 17:56:20 +05:30
|
|
|
@(cd build/FEM; cmake -Wno-dev -DCMAKE_BUILD_TYPE=RELEASE -DDAMASK_DRIVER=FEM ../..;)
|
2016-03-06 02:14:30 +05:30
|
|
|
|
|
|
|
.PHONY: clean
|
2016-04-19 04:02:08 +05:30
|
|
|
clean:
|
2016-04-21 00:31:02 +05:30
|
|
|
rm -rvf build # standard build directory
|
|
|
|
rm -rvf testing # for testing build (testing script in PRIVATE)
|
|
|
|
rm -rvf bin # default binary store location
|