DAMASK_EICMD/Makefile

33 lines
1014 B
Makefile
Raw Normal View History

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
spectral: build/spectral
@(cd build/spectral; make --no-print-directory -ws all install;)
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 ../..;)
build: bin
@mkdir build
bin:
@mkdir bin
2016-03-06 02:14:30 +05:30
FEM: build/FEM
@(cd build/FEM; make --no-print-directory -ws all install;)
2016-03-06 02:14:30 +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 # standard build directory
rm -rvf testing # for testing build (testing script in PRIVATE)
rm -rvf bin # default binary store location