added README_changes.txt
[wrffire.git] / wrfv2_fire / external / RSL / RSL / makefile.t3e
bloba8070303aecaae649039104adfe64f6f4836dec4
2 ##### from Bill Gropp #####
3 # (see /Net/moline14/moline14_5/gropp/mpich/examples/test/pt2pt/Makefile)
5 #MPIR_HOME   = /opt/ctl/mpt/1.1.0.1
6 ##LIB_PATH    = -L$(MPIR_HOME)/lib
7 #LIB_PATH    = -L/opt/ctl/mpt/1.1.0.1/lib
8 #LIB_LIST    = -lmpi
9 #INCLUDE_DIR =  -I$(MPIR_HOME)/include
11 LIBS = $(LIB_PATH) $(LIB_LIST)
13 ##### end stuff from Gropp #####
15 include makefile.core
16 OBJ = $(CORE_OBJ) rsl_mpi_compat.o mpi_init_f.o vicopy.o
17 HDR = $(CORE_HDR)
18 TAR = $(CORE_TAR)
20 CC = cc
21 FC = f90
23 .SUFFIXES: .o .c .F
25 IDIR= $(INCLUDE_DIR)
27 CFLAGS = -DMPI -DT3D -O $(IDIR) -DRSL_SYNCIO
28 FFLAGS = 
30 warning :
31         @ echo 'This makefile is not a top level makefile'
32         @ echo 'and is not intended for direct use.  Please'
33         @ echo 'type "make" by itself for assistance.'
35 all : rsl.inc librsl.a
37 rsl.inc : $(HDR) rsl.inc_base
38         cat $(HDR) | sed $(SED_LINE) |\
39         grep '^#.*define.*\/\* FORTRAN \*\/' | \
40         awk '{printf("      integer %s\n      parameter(%s=%s)\n",$$2,$$2,$$3)}' | \
41         cat rsl.inc_base - > rsl.inc
43 librsl.a : $(OBJ)
44         ar cr librsl.a $(OBJ)
45 #       ranlib librsl.a
47 .c.o :
48         $(CC) -c $(CFLAGS) $(CONFIG_OPTS) $<
50 .F.o :
51         $(FC) -c $(FFLAGS) $<
53 clean :
54         /bin/rm -f *.o
56 ###
58 $(OBJ) : $(HDR)