Original WRF subgrid support version from John Michalakes without fire
[wrffire.git] / wrfv2_fire / external / RSL / RSL / makefile.stub
blobd93642d6e239f8cc3ffa9657a5c3e67220f2b0ac
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)
5 include makefile.core
6 OBJ = $(CORE_OBJ) debug.o vicopy.o
7 HDR = $(CORE_HDR)
8 TAR = $(CORE_TAR)
10 .SUFFIXES: .F .o .c
14 LIB = 
16 # IBM
17 #CFLAGS = -DNOUNDERSCORE -DSTUBS -g
18 #CC = cc
19 #FC = xlf
20 # SUN
21 #CFLAGS = -DSTUBS -g
22 #CC = cc
23 #FC = f77 -w
26 #FFLAGS = -O
27 #ucomment for alpha
28 #CFLAGS = -DSTUBS -DSWAPBYTES -O
29 #FFLAGS = -O -convert big_endian
31 warning :
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
44 librsl.a : $(OBJ)
45         ar cr librsl.a $(OBJ)
46         ranlib librsl.a
48 .c.o :
49         $(CC) -c $(CFLAGS) $(CONFIG_OPTS) $<
51 .F.o :
52         $(FC) -c $(FFLAGS) $<
54 clean :
55         /bin/rm -f *.o
57 ###
59 $(OBJ) : $(HDR)