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
9 #INCLUDE_DIR = -I$(MPIR_HOME)/include
11 LIBS = $(LIB_PATH) $(LIB_LIST)
13 ##### end stuff from Gropp #####
16 OBJ = $(CORE_OBJ) rsl_mpi_compat.o mpi_init_f.o vicopy.o debug.o
27 CFLAGS = -DMPI -O3 $(IDIR) -DRSL_SYNCIO -Dcrayx1 -h list=a -DNO_RAGGED
30 CFLAGS0 = -hstream0,vector3,scalar3,fp2,inline3 -DMPI -DRSL_SYNCIO -VV -h display_opt -h report=imsvf -Dcrayx1
33 @ echo 'This makefile is not a top level makefile'
34 @ echo 'and is not intended for direct use. Please'
35 @ echo 'type "make" by itself for assistance.'
37 all : rsl.inc librsl.a
39 fill_boundary.o : fill_boundary.c
40 $(CC) -P $(CFLAGS0) $(CONFIG_OPTS) fill_boundary.c
41 $(CC) -c $(CFLAGS0) $(CONFIG_OPTS) fill_boundary.c
43 rsl.inc : $(HDR) rsl.inc_base
44 cat $(HDR) | sed $(SED_LINE) |\
45 grep '^#.*define.*\/\* FORTRAN \*\/' | \
46 awk '{printf(" integer %s\n parameter(%s=%s)\n",$$2,$$2,$$3)}' | \
47 cat rsl.inc_base - > rsl.inc
54 $(CC) -c $(CFLAGS) $(CONFIG_OPTS) $<