Changeset 452 for trunk/UTIL/fait_AA_make
- Timestamp:
- 2006-04-28T15:06:17+02:00 (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/UTIL/fait_AA_make
r437 r452 59 59 @if [ ! -d ../../../lib/oce ] ; then mkdir ../../../lib/oce ; fi 60 60 61 \$(EXEC_BIN) : libioipsl key keyverif src_file_list libagrif \$(MODEL_LIB) \$(IOIPSL_LIB) \$(AGRIF_LIB) agrif2model.o model.o61 \$(EXEC_BIN) : libioipsl firstagrif mpiagrif key keyverif src_file_list libagrif \$(MODEL_LIB) \$(IOIPSL_LIB) \$(AGRIF_LIB) agrif2model.o model.o 62 62 ifeq (\$(AGRIF),use) 63 63 \$(F_L) \$(L_X) -o \$(EXEC_BIN) model.o agrif2model.o \$(SXMODEL_LIB) \$(OASISMPI2_LIB) \$(IOIPSL_LIB) \$(AGRIF_LIB) \$(NCDF_LIB) \$(LIBMPI) \$(LIBMP) … … 562 562 #- 563 563 #- Write some special rules --- 564 echo '# agrif previous use' 565 echo "firstagrif:" 566 echo "ifeq (\$(AGRIF),use)" 567 echo ' @if [ -z "`cat KEY_CPP | grep key_agrif`" ]; then $(RM) model.o $(MODDIR)/oce/*.mod $(MODEL_LIB) $(SXMODEL_LIB); fi' 568 echo "else" 569 echo ' @if [ -n "`cat KEY_CPP | grep key_agrif`" ]; then $(RM) -r OPAFILES model.o $(MODDIR)/oce/*.mod $(MODEL_LIB) $(SXMODEL_LIB); fi' 570 echo "endif" 571 #- 572 echo '#- RB : this rule is a pretty miserable trick to be able to re-compile NEMP-AGRIF-mono after NEMO-AGRIF-mpp' 573 echo '#- I guess the good correction should be in AGRIF/LIB/toamr.c for the conv, to remove useless allocation declarations in AGRIF_INC' 574 echo '# recompile all in this case' 575 echo "mpiagrif:" 576 echo "ifeq (\$(AGRIF),use)" 577 echo "ifeq (,\$(AGRIF_MPI))" 578 echo ' @if [ -n "`cat KEY_CPP | grep key_mpp_mpi`" ]; then $(RM) -r OPAFILES model.o $(MODDIR)/oce/*.mod $(MODEL_LIB) $(SXMODEL_LIB); fi' 579 echo "endif" 580 echo "endif" 581 #- 564 582 echo '# key changing control' 565 583 echo "key: "
Note: See TracChangeset
for help on using the changeset viewer.