Last change
on this file since 104 was
104,
checked in by dkearney, 19 years ago
|
This update brings us one step closer to being const correct in the RpUnits
class. Added a few more comments. All other files touched were made to
comply with the new const correct RpUnits.[h,cc]
|
File size:
1.3 KB
|
Line | |
---|
1 | # |
---|
2 | # Replace this with the location of your rappture installation: |
---|
3 | RAPPTURE_DIR = /opt/rappture |
---|
4 | |
---|
5 | PROGS = fermi_example |
---|
6 | |
---|
7 | # define our compiling environment |
---|
8 | # |
---|
9 | # FORTRAN BINDINGS COMPILER FLAGS |
---|
10 | # |
---|
11 | # available flags |
---|
12 | # |
---|
13 | # COMPNAME_NOCHANGE - No change to the Rappture Library function |
---|
14 | # name |
---|
15 | # COMPNAME_UPPERCASE - Replace the Rappture Library function name |
---|
16 | # with an all uppercase version of the name |
---|
17 | # COMPNAME_ADD1UNDERSCORE - add 1 underscore to the end of the Rappture |
---|
18 | # Library function name |
---|
19 | # COMPNAME_ADD2UNDERSCORE - add 2 underscores to the end of the Rappture |
---|
20 | # Library function name |
---|
21 | # |
---|
22 | # when setting CFLAGS, use the following guide for help |
---|
23 | # |
---|
24 | # gnu's g77/f77 COMPNAME_ADD2UNDERSCORE |
---|
25 | # absoft's f77 COMPNAME_ADD1UNDERSCORE |
---|
26 | # intel's ifort COMPNAME_ADD1UNDERSCORE |
---|
27 | # intel's mpif90 COMPNAME_ADD1UNDERSCORE |
---|
28 | # |
---|
29 | # |
---|
30 | |
---|
31 | CFLAGS = -DCOMPNAME_ADD2UNDERSCORE |
---|
32 | |
---|
33 | F77 = g77 |
---|
34 | #F77 = f77 |
---|
35 | #F77 = ifort |
---|
36 | #F77 = /opt/mpich-1.2.6/p4-intel/bin/mpif90 |
---|
37 | |
---|
38 | |
---|
39 | LIB_DIR = $(RAPPTURE_DIR)/lib |
---|
40 | LIB_RAPPTURE = -Wl,-rpath,$(LIB_DIR) -L$(LIB_DIR) -lrappture |
---|
41 | |
---|
42 | all: ${PROGS} |
---|
43 | |
---|
44 | #### fermi_example ######################################################## |
---|
45 | |
---|
46 | fermi_example: fermi_example.f |
---|
47 | $(F77) -g -Wall $(LIB_RAPPTURE) -o $@ $< |
---|
48 | |
---|
49 | #### CLEAN UP ############################################################ |
---|
50 | clean: |
---|
51 | - rm -f ${PROGS} run*.xml |
---|
Note: See
TracBrowser
for help on using the repository browser.