Update grib tables to add new HRRR fields.
[WPS.git] / ungrib / Makefile
blobc94c0c24557ebdfb1d3bab14884281b2c646e4de
1 include $(DEV_TOP)/configure.wps
3 bad_idea:
4 clear
5 @echo ' *************** '
6 @echo " "
7 @echo " "
8 @echo "Go up a directory and type 'compile'"
9 @echo " "
10 @echo " "
11 @echo ' *************** '
13 all:
14 ( cd src/ngl ; $(MAKE) DEV_TOP="$(DEV_TOP)" CC="$(SCC)" FC="$(SFC)" RANLIB="$(RANLIB)" all )
15 ( cd src ; \
16 if [ "$(COMPILING_ON_CYGWIN_NT)" = yes ] ; then \
17 WRF_DIR2=$(WRF_DIR) ; \
18 else \
19 WRF_DIR2=$(WRF_DIR_PRE)$(WRF_DIR) ; \
20 fi ; \
21 $(MAKE) $(TARGET) \
22 WRF_DIR="$$WRF_DIR2" \
23 FC="$(SFC)" \
24 CC="$(CC)" \
25 CPP="$(CPP)" \
26 FFLAGS="$(FFLAGS)" \
27 CFLAGS="$(CFLAGS)" \
28 LDFLAGS="$(LDFLAGS)" \
29 CPPFLAGS="$(CPPFLAGS) -D_$(CPP_TARGET)" )
30 if [ -h $(TARGET) ] ; then \
31 $(RM) $(TARGET) ; \
32 fi ; \
33 if [ -h ../$(TARGET) ] ; then \
34 $(RM) ../$(TARGET) ; \
35 fi ; \
36 if [ -e src/$(TARGET) ] ; then \
37 $(LN) src/$(TARGET) . ; \
40 clean:
41 ( cd src/ngl ; $(MAKE) DEV_TOP="$(DEV_TOP)" clean )
42 if [ -h $(TARGET) ] ; then \
43 $(RM) $(TARGET) ; \
45 if [ -h ../$(TARGET) ] ; then \
46 $(RM) ../$(TARGET) ; \
48 ( cd src ; $(MAKE) clean )
50 superclean: clean