forked from ITensor/ITensor
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile
47 lines (37 loc) · 758 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
#
# Makefile for ITensor libraries
#
####################################
.NOTPARALLEL:
include options.mk
build: utilities matrix itensor
utilities: configure
@echo
@echo Building Utilities library
@echo
cd utilities && make
matrix: configure
@echo
@echo Building MatrixRef library
@echo
cd matrix && make
itensor: configure
@echo
@echo Building ITensor library
@echo
cd itensor && make
configure: this_dir.mk
this_dir.mk:
@echo
@echo Configure: Writing current dir to this_dir.mk
@echo THIS_DIR=`pwd` > this_dir.mk
clean:
cd utilities && make clean
cd matrix && make clean
cd itensor && make clean
cd sample && make clean
cd sandbox && make clean
rm -fr include/*
rm -f lib/*
distclean: clean
rm -f this_dir.mk options.mk