forked from lynch829/Monte-Carlo-Radiation-Transport-code
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile
32 lines (25 loc) · 915 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
#*************** Makefile created by Mike Wolff ****************************
#******************************** G77/Linux Fortran ************************
FC = gfortran-4.8
#EXTRA_OPT = -mpentium -malign-double -fforce-mem -fforce-addr \
# -ffast-math -funroll-all-loops
# May want to experiment by adding the extra optimization flags to get
## better runtime. But then again, maybe not.
#FFLAGS = -Ofast $(EXTRA_OPT)
FFLAGS = -Ofast
LDFLAGS =
time_it = get_cpu_sun
#****************************************************************************
OBJSB = density.o \
gridset.o \
iarray.o \
mcpolar.o \
ran2.o \
stokes.o \
sourceph.o \
tauint2.o \
search.o \
fresnel.o
mcgrid: $(OBJSB)
$(FC) $(OBJSB) $(LDFLAGS) -o mcgrid
clean:; /bin/rm -f *.o