-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathmakefile
More file actions
58 lines (49 loc) · 1.77 KB
/
makefile
File metadata and controls
58 lines (49 loc) · 1.77 KB
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
###########################################################################
# OSX using gfortran #
###########################################################################
CMPLR = gfortran
LINKR = gfortran
CFLAGS = -O2
LFLAGS = -O2 -static
# LFLAGS = -O2
LLIBS =
###########################################################################
# OSX #
###########################################################################
#CMPLR = g77
#LINKR = g77
#CFLAGS = -O2
#LFLAGS = -O2 -static
#LFLAGS = -O2
#LLIBS =
###########################################################################
# OSX intel Fortran #
###########################################################################
#CMPLR = ifort
#LINKR = ifort
#CFLAGS = -O0 -mp
##LFLAGS = -O2 -static
#LFLAGS = -O0
#LLIBS =
###########################################################################
# LINUX #
###########################################################################
#CMPLR = cc
#LINKR = g77
#CFLAGS = -O2 -I../../lib_linux/include/
#LFLAGS = -O2 -static -L../../lib_linux/lib/
#LLIBS = -lreadline -lhistory -lncurses
###########################################################################
# Don«t change anything below #
###########################################################################
OBJS =
.c.o :
$(CMPLR) $(CFLAGS) -c $<
.f.o :
$(CMPLR) $(CFLAGS) -c $<
dls76.x : dls76.o
$(LINKR) $(LFLAGS) -o $@ dls76.o $(OBJS) -lm $(LLIBS)
clean :
rm -f *.o
rm -f core
rm -f dls76.x