source: trunk/examples/app-fermi/fortran/Makefile @ 84

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