Removed unused variable "hold" from Matt's NMM smth_desmth code.
[WPS.git] / util / Makefile
blobf5227513930d5bdfcf1db573186d76920c4bce07
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 $(MAKE) $(TARGET) \
16 WRF_DIR="$(WRF_DIR_PRE)$(WRF_DIR)" \
17 FC="$(FC)" \
18 CC="$(CC)" \
19 CPP="$(CPP)" \
20 FFLAGS="$(FFLAGS)" \
21 CFLAGS="$(CFLAGS)" \
22 LDFLAGS="$(LDFLAGS)" \
23 CPPFLAGS="$(CPPFLAGS) -D_$(CPP_TARGET)" )
24 if [ -h $(TARGET) ] ; then \
25 $(RM) $(TARGET) ; \
26 fi ; \
27 if [ -h ../$(TARGET) ] ; then \
28 $(RM) ../$(TARGET) ; \
29 fi ; \
30 if [ -e src/$(TARGET) ] ; then \
31 $(LN) src/$(TARGET) . ; \
34 clean:
35 if [ -h $(TARGET) ] ; then \
36 $(RM) $(TARGET) ; \
38 if [ -h ../$(TARGET) ] ; then \
39 $(RM) ../$(TARGET) ; \
41 ( cd src ; $(MAKE) clean )
43 superclean: clean