Last change
on this file since 1601 was
11,
checked in by aslmd, 14 years ago
|
spiga@svn-planeto:ajoute le modele meso-echelle martien
|
File size:
938 bytes
|
Line | |
---|
1 | include $(DEV_TOP)/configure.wps |
---|
2 | |
---|
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 ' *************** ' |
---|
12 | |
---|
13 | all: |
---|
14 | ( cd src/ngl ; $(MAKE) DEV_TOP="$(DEV_TOP)" CC="$(SCC)" FC="$(SFC)" all ) |
---|
15 | ( cd src ; \ |
---|
16 | $(MAKE) $(TARGET) \ |
---|
17 | WRF_DIR="$(WRF_DIR_PRE)$(WRF_DIR)" \ |
---|
18 | FC="$(SFC)" \ |
---|
19 | CC="$(CC)" \ |
---|
20 | CPP="$(CPP)" \ |
---|
21 | FFLAGS="$(FFLAGS)" \ |
---|
22 | CFLAGS="$(CFLAGS)" \ |
---|
23 | LDFLAGS="$(LDFLAGS)" \ |
---|
24 | CPPFLAGS="$(CPPFLAGS) -D_$(CPP_TARGET)" ) |
---|
25 | if [ -h $(TARGET) ] ; then \ |
---|
26 | $(RM) $(TARGET) ; \ |
---|
27 | fi ; \ |
---|
28 | if [ -h ../$(TARGET) ] ; then \ |
---|
29 | $(RM) ../$(TARGET) ; \ |
---|
30 | fi ; \ |
---|
31 | if [ -e src/$(TARGET) ] ; then \ |
---|
32 | $(LN) src/$(TARGET) . ; \ |
---|
33 | fi |
---|
34 | |
---|
35 | clean: |
---|
36 | ( cd src/ngl ; $(MAKE) DEV_TOP="$(DEV_TOP)" clean ) |
---|
37 | if [ -h $(TARGET) ] ; then \ |
---|
38 | $(RM) $(TARGET) ; \ |
---|
39 | fi |
---|
40 | if [ -h ../$(TARGET) ] ; then \ |
---|
41 | $(RM) ../$(TARGET) ; \ |
---|
42 | fi |
---|
43 | ( cd src ; $(MAKE) clean ) |
---|
44 | |
---|
45 | superclean: clean |
---|
Note: See
TracBrowser
for help on using the repository browser.