Last change
on this file since 84 was
84,
checked in by dkearney, 19 years ago
|
- added "install" target to make file for copying files over to /opt/rappture
- added targets for python to build and install the units module
- added fortran stub functions for library and units.
RpLibraryF_test.f compiles, just with warnings, because i'm still working on it.
|
File size:
452 bytes
|
Rev | Line | |
---|
[66] | 1 | # Makefile for app-fermi/fortran example |
---|
| 2 | # |
---|
| 3 | # Replace this with the location of your rappture installation: |
---|
| 4 | RAPPTURE_DIR = /opt/rappture |
---|
| 5 | |
---|
| 6 | # no need to edit the rest... |
---|
[84] | 7 | PROGS = fermi |
---|
[66] | 8 | |
---|
| 9 | #F77 = ifort |
---|
| 10 | #F77 = /opt/mpich-1.2.6/p4-intel/bin/mpif90 |
---|
| 11 | F77 = g77 |
---|
| 12 | |
---|
| 13 | LIB_DIR = $(RAPPTURE_DIR)/lib |
---|
[84] | 14 | LIB_RAPPTURE = -Wl,-rpath,$(LIB_DIR) -L$(LIB_DIR) -lrappture |
---|
[66] | 15 | |
---|
| 16 | all: $(PROGS) |
---|
| 17 | |
---|
| 18 | fermi: fermi.f |
---|
[73] | 19 | $(F77) -g -Wall $(LIB_RAPPTURE) -o $@ $< |
---|
[66] | 20 | |
---|
| 21 | clean: |
---|
[84] | 22 | rm -f *.o $(PROGS) run*.xml |
---|
Note: See
TracBrowser
for help on using the repository browser.