-
Notifications
You must be signed in to change notification settings - Fork 12
/
Makefile
executable file
·51 lines (34 loc) · 968 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 adopted for Linux + mpich
###########################################
FF = gfortran
LD = gfortran
FFLAGS = -ffree-line-length-none -g
LDFLAGS = -g
LIBS =
#FF = ifort
#LD = ifort
#FFLAGS =
#LDFLAGS =
#FFLAGS = -check -debug inline_debug_info -debug-parameters all
#LDFLAGS = -check -debug inline_debug_info -debug-parameters all
#LIBS =
PROG = spectra-pka
.SUFFIXES : .o .f90
%.o:%.f90
$(FF) -c $(FFLAGS) $<
OBJ = accuracy.o globals.o read_input.o \
spectra-pka.o collapse_xs2.o \
collapse_fluxes.o define_daughter.o \
ng_estimate.o output_sum_pkas.o \
sum_pkas.o read_flux.o read_pka.o \
global_sums.o tdam.o \
create_configs.o create_bcc.o \
bca.o create_fcc.o create_hcp.o \
config_input_output.o
$(PROG) : $(OBJ)
$(LD) -o $(PROG) $(LDFLAGS) $(OBJ)
clean:
rm -f $(OBJ) core *~
distclean:
rm -f $(PROG) *.o *.mod core *~