2014-01-11 18:16:30 +05:30
|
|
|
SHELL = /bin/sh
|
|
|
|
########################################################################################
|
|
|
|
# Makefile for the installation of DAMASK
|
|
|
|
########################################################################################
|
2014-01-27 19:40:49 +05:30
|
|
|
.PHONY: all
|
2014-04-04 17:45:55 +05:30
|
|
|
all: spectral marc processing
|
2014-01-27 19:40:49 +05:30
|
|
|
|
2014-01-24 18:00:27 +05:30
|
|
|
.PHONY: spectral
|
2014-01-11 18:16:30 +05:30
|
|
|
spectral:
|
2014-08-25 03:37:53 +05:30
|
|
|
$(MAKE) DAMASK_spectral.exe -C code
|
|
|
|
|
|
|
|
.PHONY: FEM
|
|
|
|
FEM:
|
|
|
|
$(MAKE) DAMASK_FEM.exe -C code
|
2014-01-11 18:16:30 +05:30
|
|
|
|
2014-01-24 18:00:27 +05:30
|
|
|
.PHONY: marc
|
2014-01-11 18:16:30 +05:30
|
|
|
marc:
|
2014-01-22 21:33:27 +05:30
|
|
|
@./installation/mods_MarcMentat/apply_DAMASK_modifications.sh ${MAKEFLAGS}
|
2014-01-11 18:16:30 +05:30
|
|
|
|
2014-06-03 16:00:51 +05:30
|
|
|
.PHONY: processing
|
2014-01-11 18:16:30 +05:30
|
|
|
processing:
|
2015-07-30 00:53:06 +05:30
|
|
|
@if hash cython 2>/dev/null; then \
|
|
|
|
cd ./lib/damask; \
|
2015-08-26 19:51:53 +05:30
|
|
|
CC=gcc python setup_corientation.py build_ext --inplace; \
|
2015-07-30 00:53:06 +05:30
|
|
|
rm -rv build; \
|
|
|
|
rm *.c; \
|
|
|
|
fi
|
2014-01-11 18:16:30 +05:30
|
|
|
|
2014-01-24 18:00:27 +05:30
|
|
|
.PHONY: tidy
|
2015-07-30 00:53:06 +05:30
|
|
|
tidy:
|
2014-01-11 18:16:30 +05:30
|
|
|
@$(MAKE) tidy -C code >/dev/null
|
|
|
|
|
2014-01-24 18:00:27 +05:30
|
|
|
.PHONY: clean
|
2015-07-30 00:53:06 +05:30
|
|
|
clean:
|
2015-11-14 15:17:18 +05:30
|
|
|
@$(MAKE) cleanDAMASK -C code >/dev/null
|
2014-01-11 18:16:30 +05:30
|
|
|
|
2014-01-24 18:00:27 +05:30
|
|
|
.PHONY: install
|
2014-01-11 18:16:30 +05:30
|
|
|
install:
|
2014-01-15 04:03:15 +05:30
|
|
|
@./installation/symlink_Code.py ${MAKEFLAGS}
|
|
|
|
@./installation/symlink_Processing.py ${MAKEFLAGS}
|
2014-01-11 18:16:30 +05:30
|
|
|
|