-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathMakefile
More file actions
36 lines (25 loc) · 847 Bytes
/
Makefile
File metadata and controls
36 lines (25 loc) · 847 Bytes
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
CC = CC
OPT = -funroll-loops -O -fopenmp -DSKIPRAW # -DREADWEIGHT
recon: recon.o io.o multigrid.o grid.o shift.o smooth.o
$(CC) $(OPT) recon.o io.o multigrid.o grid.o shift.o smooth.o -o recon -lfftw3_omp -lfftw3 -lm
recon.o: recon.cpp global.h lcdm.h multigrid.h
$(CC) $(OPT) -c recon.cpp
io.o: io.cpp global.h lcdm.h
$(CC) $(OPT) -c io.cpp
multigrid.o: multigrid.cpp global.h lcdm.h multigrid.h
$(CC) $(OPT) -c multigrid.cpp
grid.o: grid.cpp global.h lcdm.h
$(CC) $(OPT) -c grid.cpp
shift.o: shift.cpp global.h lcdm.h
$(CC) $(OPT) -c shift.cpp
smooth.o: smooth.cpp global.h
$(CC) $(OPT) -I$(FFTW_INC) -L$(FFTW_DIR) -c smooth.cpp
tex: notes.tex notes.bib
pdflatex notes
bibtex notes
pdflatex notes
pdflatex notes
rm -f notes.toc
all: recon tex
.(PHONY) clean:
rm -f notes.aux notes.log notes.out notes.toc *.o