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

Last change on this file since 73 was 73, checked in by dkearney, 19 years ago
  1. changes to RpUnits, modified RpUnits::define() function not to look for base units.
  2. changed python RpUnits to return string when units!="off" and a number when units=="off"
  3. modified make files, hopefully making them easier to read, removing vpaths,

cleaning up the make process, combining smaller libraries into one library,
librappture, and putting the core objects into one library - libRpObjects,
for testing.

  1. copied rpResult function into rappture_interface.c to stop compiler from

complaining about undefined references ot the function. trying to use the
function probably won't work. but that can be fixed after the repository is
reorganized.

  1. in example/app-fermi/python/fermi.py, changed exit() to sys.exit() to

stop python from complaining about no function called exit().

  1. examples/app-fermi/fortran still does not run, but new rappture parser

should take care of these problems. (same with examples/fermi_fortran)

File size: 479 bytes
Line 
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...
7PROGS = fermi
8
9CFLAGS = -DCOMPNAME_ADD2UNDERSCORE
10
11#F77 = ifort
12#F77 = /opt/mpich-1.2.6/p4-intel/bin/mpif90
13F77 = g77
14
15LIB_DIR = $(RAPPTURE_DIR)/lib
16LIB_RAPPTURE    = -Wl,-rpath,$(LIB_DIR) -L$(LIB_DIR) -lrappture
17
18all: $(PROGS)
19
20fermi: fermi.f
21        $(F77) -g -Wall $(LIB_RAPPTURE) -o $@ $<
22
23clean:
24        rm -f *.o $(PROGS)
Note: See TracBrowser for help on using the repository browser.