final test before pushing to central
This commit is contained in:
parent
81ac9aefa1
commit
c704663476
84
Makefile
84
Makefile
|
@ -1,42 +1,42 @@
|
||||||
SHELL = /bin/sh
|
SHELL = /bin/sh
|
||||||
########################################################################################
|
########################################################################################
|
||||||
# Makefile for the installation of DAMASK
|
# Makefile for the installation of DAMASK
|
||||||
########################################################################################
|
########################################################################################
|
||||||
.PHONY: all
|
.PHONY: all
|
||||||
all: spectral marc processing
|
all: spectral marc processing
|
||||||
|
|
||||||
.PHONY: spectral
|
.PHONY: spectral
|
||||||
spectral:
|
spectral:
|
||||||
$(MAKE) DAMASK_spectral.exe -C code
|
$(MAKE) DAMASK_spectral.exe -C src
|
||||||
|
|
||||||
.PHONY: FEM
|
.PHONY: FEM
|
||||||
FEM:
|
FEM:
|
||||||
$(MAKE) DAMASK_FEM.exe -C code
|
$(MAKE) DAMASK_FEM.exe -C src
|
||||||
|
|
||||||
.PHONY: marc
|
.PHONY: marc
|
||||||
marc:
|
marc:
|
||||||
@./installation/mods_MarcMentat/apply_DAMASK_modifications.sh ${MAKEFLAGS}
|
@./installation/mods_MarcMentat/apply_DAMASK_modifications.sh ${MAKEFLAGS}
|
||||||
|
|
||||||
.PHONY: processing
|
.PHONY: processing
|
||||||
processing:
|
processing:
|
||||||
@if hash cython 2>/dev/null; then \
|
@if hash cython 2>/dev/null; then \
|
||||||
cd ./lib/damask; \
|
cd ./lib/damask; \
|
||||||
CC=gcc python setup_corientation.py build_ext --inplace; \
|
CC=gcc python setup_corientation.py build_ext --inplace; \
|
||||||
rm -rv build; \
|
rm -rv build; \
|
||||||
rm *.c; \
|
rm *.c; \
|
||||||
fi
|
fi
|
||||||
@./installation/compile_CoreModule.py ${MAKEFLAGS}
|
@./installation/compile_CoreModule.py ${MAKEFLAGS}
|
||||||
|
|
||||||
.PHONY: tidy
|
.PHONY: tidy
|
||||||
tidy:
|
tidy:
|
||||||
@$(MAKE) tidy -C code >/dev/null
|
@$(MAKE) tidy -C src >/dev/null
|
||||||
|
|
||||||
.PHONY: clean
|
.PHONY: clean
|
||||||
clean:
|
clean:
|
||||||
@$(MAKE) cleanDAMASK -C code >/dev/null
|
@$(MAKE) cleanDAMASK -C src >/dev/null
|
||||||
|
|
||||||
.PHONY: install
|
.PHONY: install
|
||||||
install:
|
install:
|
||||||
@./installation/symlink_Code.py ${MAKEFLAGS}
|
@./installation/symlink_Code.py ${MAKEFLAGS}
|
||||||
@./installation/symlink_Processing.py ${MAKEFLAGS}
|
@./installation/symlink_Processing.py ${MAKEFLAGS}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue