From c7046634762f5b09ad1467632a460101d9a56dcc Mon Sep 17 00:00:00 2001 From: Chen Zhang Date: Sat, 5 Mar 2016 15:44:30 -0500 Subject: [PATCH] final test before pushing to central --- Makefile | 84 ++++++++++++++++++++++++++++---------------------------- 1 file changed, 42 insertions(+), 42 deletions(-) diff --git a/Makefile b/Makefile index 8be738090..4e7286eff 100755 --- a/Makefile +++ b/Makefile @@ -1,42 +1,42 @@ -SHELL = /bin/sh -######################################################################################## -# Makefile for the installation of DAMASK -######################################################################################## -.PHONY: all -all: spectral marc processing - -.PHONY: spectral -spectral: - $(MAKE) DAMASK_spectral.exe -C code - -.PHONY: FEM -FEM: - $(MAKE) DAMASK_FEM.exe -C code - -.PHONY: marc -marc: - @./installation/mods_MarcMentat/apply_DAMASK_modifications.sh ${MAKEFLAGS} - -.PHONY: processing -processing: - @if hash cython 2>/dev/null; then \ - cd ./lib/damask; \ - CC=gcc python setup_corientation.py build_ext --inplace; \ - rm -rv build; \ - rm *.c; \ - fi - @./installation/compile_CoreModule.py ${MAKEFLAGS} - -.PHONY: tidy -tidy: - @$(MAKE) tidy -C code >/dev/null - -.PHONY: clean -clean: - @$(MAKE) cleanDAMASK -C code >/dev/null - -.PHONY: install -install: - @./installation/symlink_Code.py ${MAKEFLAGS} - @./installation/symlink_Processing.py ${MAKEFLAGS} - +SHELL = /bin/sh +######################################################################################## +# Makefile for the installation of DAMASK +######################################################################################## +.PHONY: all +all: spectral marc processing + +.PHONY: spectral +spectral: + $(MAKE) DAMASK_spectral.exe -C src + +.PHONY: FEM +FEM: + $(MAKE) DAMASK_FEM.exe -C src + +.PHONY: marc +marc: + @./installation/mods_MarcMentat/apply_DAMASK_modifications.sh ${MAKEFLAGS} + +.PHONY: processing +processing: + @if hash cython 2>/dev/null; then \ + cd ./lib/damask; \ + CC=gcc python setup_corientation.py build_ext --inplace; \ + rm -rv build; \ + rm *.c; \ + fi + @./installation/compile_CoreModule.py ${MAKEFLAGS} + +.PHONY: tidy +tidy: + @$(MAKE) tidy -C src >/dev/null + +.PHONY: clean +clean: + @$(MAKE) cleanDAMASK -C src >/dev/null + +.PHONY: install +install: + @./installation/symlink_Code.py ${MAKEFLAGS} + @./installation/symlink_Processing.py ${MAKEFLAGS} +