Change geog_data_path in the default namelist.wps to point to the geog data
[WPS-merge.git] / util / Makefile
blob684a39e74da66cf9ec558832a8a2ad1826ab50cd
1 # WPS component makefile
3 include ../configure.wps
5 bad_idea:
6 clear ;
7 @echo " "
8 @echo " "
9 @echo "go up a directory and type 'compile' to build WPS"
10 @echo " "
11 @echo " "
13 all:
14 ( cd src ; \
15 if [ "$(COMPILING_ON_CYGWIN_NT)" = yes ] ; then \
16 WRF_DIR2=$(WRF_DIR) ; \
17 else \
18 WRF_DIR2=$(WRF_DIR_PRE)$(WRF_DIR) ; \
19 fi ; \
20 $(MAKE) $(TARGET) \
21 WRF_DIR="$$WRF_DIR2" \
22 FC="$(FC)" \
23 CC="$(CC)" \
24 CPP="$(CPP)" \
25 FFLAGS="$(FFLAGS)" \
26 CFLAGS="$(CFLAGS)" \
27 LDFLAGS="$(LDFLAGS)" \
28 CPPFLAGS="$(CPPFLAGS) -D_$(CPP_TARGET)" )
29 if [ -h $(TARGET) ] ; then \
30 $(RM) $(TARGET) ; \
31 fi ; \
32 if [ -h ../$(TARGET) ] ; then \
33 $(RM) ../$(TARGET) ; \
34 fi ; \
35 if [ -e src/$(TARGET) ] ; then \
36 $(LN) src/$(TARGET) . ; \
39 clean:
40 if [ -h $(TARGET) ] ; then \
41 $(RM) $(TARGET) ; \
43 if [ -h ../$(TARGET) ] ; then \
44 $(RM) ../$(TARGET) ; \
46 ( cd src ; $(MAKE) clean )
48 superclean: clean