-
Notifications
You must be signed in to change notification settings - Fork 24
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
aa73431
commit bbda86b
Showing
28 changed files
with
14,399 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
IGNORE: | ||
FC = gfortran -O2 #-ffast-math | ||
#FC = gfortran-mp-4.4 -O2 #-ffast-math | ||
#use of -ffast-math may cause problems on some machines | ||
|
||
LFLAGS = const_bse.h zdata.h | ||
|
||
CC = cc -O2 -fopenmp #-ffast-math | ||
#use "-D NOOMP" and remove "-fopenmp" for compilation without OpenMP | ||
|
||
#CFLAGS = -L/opt/local/lib/gcc44/ -lgfortran | ||
CFLAGS = -L/usr/lib/ -lgfortran | ||
|
||
.f.o: | ||
$(FC) -c $< | ||
|
||
SOURCE = \ | ||
deltat.f evolv1.f hrdiag.f kick.f mlwind.f mrenv.f \ | ||
ran3.f star.f zcnsts.f zfuncs.f\ | ||
comenv.f corerd.f dgcore.f evolv2.f gntage.f \ | ||
instar.f mix.f rl.f | ||
|
||
OBJECTS = $(SOURCE:.f=.o) | ||
|
||
mcluster_sse: $(OBJECTS) $(LFLAGS) | ||
$(CC) -c main.c -D SSE -lm | ||
$(CC) $(CFLAGS) $(OBJECTS) main.o -o mcluster_sse -lm | ||
|
||
mcluster: | ||
$(CC) -o mcluster main.c -lm | ||
|
||
clean: | ||
rm *.o mcluster_sse mcluster |
Binary file not shown.
Large diffs are not rendered by default.
Oops, something went wrong.
Oops, something went wrong.