source: trunk/MESOSCALE/LMD_MM_MARS/SRC/WPS/metgrid/Makefile @ 3530

Last change on this file since 3530 was 11, checked in by aslmd, 14 years ago

spiga@svn-planeto:ajoute le modele meso-echelle martien

  • Property svn:executable set to *
File size: 781 bytes
Line 
1#       WPS component makefile
2
3include ../configure.wps
4
5bad_idea:
6        clear ;
7        @echo " "
8        @echo " "
9        @echo "go up a directory and type 'compile' to build WPS"
10        @echo " "
11        @echo " "
12
13all:
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 [ -e $(TARGET) ] ; then \
25                $(RM) $(TARGET) ; \
26        fi ; \
27        if [ -e ../$(TARGET) ] ; then \
28                $(RM) ../$(TARGET) ; \
29        fi ; \
30        if [ -e src/$(TARGET) ] ; then \
31                $(LN) src/$(TARGET) . ; \
32        fi
33
34clean:
35        if [ -e $(TARGET) ] ; then \
36                $(RM) $(TARGET) ; \
37        fi
38        if [ -e ../$(TARGET) ] ; then \
39                $(RM) ../$(TARGET) ; \
40        fi
41        ( cd src ; $(MAKE) clean )
42
43superclean: clean
Note: See TracBrowser for help on using the repository browser.