DAMASK_EICMD/Makefile

31 lines
808 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
@(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; 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