2016-05-18 11:51:09 +05:30
|
|
|
SHELL = /bin/sh
|
|
|
|
########################################################################################
|
|
|
|
# Makefile for the installation of DAMASK
|
|
|
|
########################################################################################
|
|
|
|
.PHONY: all
|
|
|
|
all: spectral FEM
|
|
|
|
|
|
|
|
spectral: build/spectral
|
|
|
|
@(cd build/spectral; make --no-print-directory -ws all install;)
|
|
|
|
|
|
|
|
build/spectral: build
|
|
|
|
@mkdir build/spectral
|
2016-05-21 18:36:01 +05:30
|
|
|
@(cd build/spectral; cmake -Wno-dev -DDAMASK_DRIVER=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 18:36:01 +05:30
|
|
|
@(cd build/FEM; cmake -Wno-dev -DDAMASK_DRIVER=FEM ../..;)
|
2016-05-18 11:51:09 +05:30
|
|
|
|
|
|
|
.PHONY: clean
|
|
|
|
clean:
|
|
|
|
rm -rvf build # standard build directory
|
|
|
|
rm -rvf testing # for testing build (testing script in PRIVATE)
|
|
|
|
rm -rvf bin # default binary store location
|