forked from lanl/LATTE
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathMakefile
49 lines (37 loc) · 868 Bytes
/
Makefile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
#
# LATTE Makefile
#
include makefile.CHOICES
PROGRAMS = LATTE_SINGLE LATTE_DOUBLE LATTEGPU_SINGLE LATTEGPU_DOUBLE LATTE_DBCSR_DOUBLE LATTE_DBCSR_SINGLE
all :
ifeq ($(GPUOPT),ON)
(cd MATRIX; make; cd ..)
endif
(rm liblatte.a; cd src; make; cd ..)
lammps :
(rm liblatte.a; cd src; make; cd ..)
(cd $(HOME)/lammps/src; touch fix_latte.cpp; make serial; cd -)
src :
(rm liblatte.a; cd src; make; cd ..)
docs :
(cd ./src; doxygen Doxyfile.in)
(cd ./doc/latex/ ; make ; cd ../../)
(cp ./doc/latex/refman.pdf ./Manual/)
test :
(./tests/run_test.sh)
test_lmp :
(./tests/run_test_lmp.sh)
cov :
(./tests/run_cov)
matrix :
ifeq ($(GPUOPT),ON)
(cd MATRIX; make; cd ..)
endif
clean :
(cd MATRIX; make clean; cd ..)
(cd src; make clean; cd ..)
rm *.a
veryclean :
(cd MATRIX; make clean; cd ..)
(cd src; make clean; cd ..)
rm $(PROGRAMS) *.a