updated top-level README and version_decl for V4.5 (#1847)
[WRF.git] / var / external / bufr / Makefile
blob4998affcf772b1fd0a5a293171216bf37006d2d3
1 .SUFFIXES: .c .f .for .o
3 include make.filelist
5 AR = ar
6 ARFLAGS = cr
7 TARGET = libbufr.a
9 library:$(OBJ)
10 $(AR) $(ARFLAGS) $(TARGET) $(OBJ)
11 $(RANLIB) $(TARGET)
13 .c.o:
14 $(RM) $@
15 $(CC) -o $@ -c $(CFLAGS) -DUNDERSCORE $*.c
17 .f.o:
18 $(FC) -c $(FFLAGS) $<
20 .for.o:
21 ./preproc.sh $*.for
22 $(FC) -c $(FFLAGS) $*.f
24 clean:
25 @rm -f $(OBJ) $(TARGET) irev.f wrdlen.f
27 superclean: clean