2 # this is a makefile for RSL that maps the package down to the
3 # IBM SP without message passing at all (must run single proc)
6 OBJ = $(CORE_OBJ) debug.o vicopy.o
17 #CFLAGS = -DNOUNDERSCORE -DSTUBS -g
28 #CFLAGS = -DSTUBS -DSWAPBYTES -O
29 #FFLAGS = -O -convert big_endian
32 @ echo 'This makefile is not a top level makefile'
33 @ echo 'and is not intended for direct use. Please'
34 @ echo 'type "make" by itself for assistance.'
36 all : rsl.inc librsl.a
38 rsl.inc : $(HDR) rsl.inc_base
39 cat $(HDR) | sed $(SED_LINE) |\
40 grep '^#.*define.*\/\* FORTRAN \*\/' | \
41 awk '{printf(" integer %s\n parameter(%s=%s)\n",$$2,$$2,$$3)}' | \
42 cat rsl.inc_base - > rsl.inc
49 $(CC) -c $(CFLAGS) $(CONFIG_OPTS) $<