updated top-level README and version_decl for V4.4.2 (#1795)
[WRF.git] / external / RSL_LITE / makefile
blob5d1139fe4c62e58abc3274bea9cdccd5eddf7178
1 OBJSL = c_code.o buf_for_proc.o rsl_malloc.o rsl_bcast.o task_for_point.o period.o swap.o cycle.o f_pack.o f_xpose.o
2 OBJS = $(OBJSL)
3 OPTS = $(PLUSFLAG)
4 FFLAGS = $(OPTS)
5 LIBS =
6 M4 = m4 -Uinclude -Uindex -Ulen
7 AR = ar
8 CFLAGS = $(PLUSFLAG)
9 CPPFLAGS =
10 FFLAGS =
13 .SUFFIXES: .F90 .F .f .o .code
15 all : librsl_lite.a
17 librsl_lite.a: $(OBJS)
18 /bin/rm -f librsl_lite.a
19 $(AR) cr librsl_lite.a $(OBJSL)
21 c_code.o: c_code.c
22 $(CC) $(CFLAGS) -c c_code.c
24 period.o: period.c
25 $(CC) $(CFLAGS) -c period.c
27 swap.o: swap.c
28 $(CC) $(CFLAGS) -c swap.c
30 cycle.o: cycle.c
31 $(CC) $(CFLAGS) -c cycle.c
33 rsl_bcast.o: rsl_bcast.c
34 $(CC) $(CFLAGS) -c rsl_bcast.c
36 rsl_malloc.o: rsl_malloc.c
37 $(CC) $(CFLAGS) -c rsl_malloc.c
39 task_for_point.o: task_for_point.c
40 $(CC) $(CFLAGS) -c task_for_point.c
42 buf_for_proc.o: buf_for_proc.c
43 $(CC) $(CFLAGS) -c buf_for_proc.c
45 f_pack.o: f_pack.F90
46 $(CPP) $(CPPFLAGS) f_pack.F90 > f_pack.f
47 $(FC) -o $@ $(FFLAGS) -c f_pack.f
49 f_xpose.o: f_xpose.F90 f_pack.o
50 $(CPP) f_xpose.F90 > f_xpose.f
51 $(FC) -o $@ $(FFLAGS) -c f_xpose.f
53 clean :
54 @/bin/rm -f *.f *.o *.mod *.obj *.i
56 superclean : clean
57 @/bin/rm -f *.a