forked from TDIV/TBM3
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile
29 lines (23 loc) · 861 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
#----------------------------------------------------------|
# Copyright (C) 2016 Yuan-Yen Tai, Hongchul Choi, |
# Jian-Xin Zhu |
# |
# Los Alamos National Laboratory, T-4 Group |
# |
#----------------------------------------------------------|
include make.inc
IDIR = ./include
CFLAGS = -I$(IDIR)\
-isystem$(BOOST_DIR)\
-I$(MAGMA_DIR)/include\
-L$(MAGMA_DIR)/lib -lmagma\
-I$(CUDA_DIR)/include\
-L$(CUDA_DIR)/lib\
-L$(CUDA_DIR)/lib64\
$(OSFLAG)
tbm-run: src/main-tbm-run.cpp
$(CC) src/main-tbm-run.cpp -o bin/tbm-run $(CFLAGS)
tbm-wannier: src/main-tbm-wannier.cpp
$(CC) src/main-tbm-wannier.cpp -o bin/tbm-wannier $(CFLAGS)
clean:
rm bin/tbm-run