DAMASK_EICMD/Makefile

30 lines
723 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; make install;)
build/spectral: build
@mkdir build/spectral
@(cd build/spectral; cmake -Wno-dev -DCMAKE_BUILD_TYPE=RELEASE -DDAMASK_DRIVER=SPECTRAL ../..;)
build: bin
@mkdir build
bin:
@mkdir bin
2016-03-06 02:14:30 +05:30
FEM: build/FEM
@(cd build/FEM; cmake -Wno-dev -DCMAKE_BUILD_TYPE=RELEASE -DDAMASK_DRIVER=FEM ../..;)
2016-03-06 02:14:30 +05:30
build/FEM: build
@mkdir build
2016-03-06 02:14:30 +05:30
.PHONY: clean
2016-04-19 04:02:08 +05:30
clean:
rm -rvf build