-
Notifications
You must be signed in to change notification settings - Fork 1
/
Makefile
74 lines (62 loc) · 1.56 KB
/
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
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
SOURCES := ./src/main.c \
./src/utils.c \
./src/const.c \
./src/xmem.c \
./src/xstring.c \
./src/parse_ini.c \
./src/output.c \
./src/outgal.c \
./src/dconfObj.c \
./src/halo_tree.c \
./src/gal_gtree.c \
./src/read_trees.c \
./src/copy_halo_gal.c \
./src/run.c \
./src/nion.c \
./src/nion_gal.c \
./src/domain.c \
./src/sort.c \
./src/redshift_list.c \
./src/photion_gal.c \
./src/cutandresort.c \
./src/evol_gal.c \
./src/metallicity.c \
./src/radiative_feedback.c \
./src/starformation_SNfeedback.c \
./src/ion_emissivity.c \
./src/fesc.c \
./src/comm_gal_grid_struct.c \
./src/comm_gal_grid.c \
./src/timestep_model.c \
./src/check_cifogParam.c \
./src/cifog/confObj.c \
./src/cifog/grid.c \
./src/cifog/input_nion.c \
./src/cifog/fraction_q.c \
./src/cifog/filtering.c \
./src/cifog/phys_const.c \
./src/cifog/self_shielding.c \
./src/cifog/density_distribution.c \
./src/cifog/recombination.c \
./src/cifog/mean_free_path.c \
./src/cifog/convolution_fftw.c \
./src/cifog/input_redshifts.c\
./src/cifog/input_grid.c \
./src/cifog/photion_background.c \
./src/cifog/redshift_tools.c \
./src/cifog/checks.c \
./src/cifog/cifog_delphi.c
OBJECTS := $(SOURCES:.c=.o)
DOBJECTS := $(SOURCES:.c=.d)
EXECUTABLE := astraeus
USE-MPI=YES
include common.mk
.PHONY: all clean clena celan celna
all: $(SOURCES) $(EXECUTABLE)
celan celna clena:clean
$(EXECUTABLE): $(OBJECTS)
$(CC) $(OBJECTS) $(LDFLAGS) -o $@
.c.o:
$(CC) $(CFLAGS) $< -o $@
clean:
rm -rf $(OBJECTS) $(DOBJECTS) $(EXECUTABLE)