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 17:56:20 +05:30
|
|
|
@(cd build/spectral; make -s all install;)
|
2016-04-20 00:22:36 +05:30
|
|
|
|
|
|
|
build/spectral: build
|
|
|
|
@mkdir build/spectral
|
2016-04-20 01:34:13 +05:30
|
|
|
@(cd build/spectral; cmake -Wno-dev -DCMAKE_BUILD_TYPE=RELEASE -DDAMASK_DRIVER=SPECTRAL ../..;)
|
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 17:56:20 +05:30
|
|
|
@(cd build/FEM; make -s 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:
|
|
|
|
rm -rvf build
|