Changeset 375
- Timestamp:
- Nov 10, 2011, 4:11:18 PM (13 years ago)
- Location:
- trunk/LMDZ.GENERIC
- Files:
-
- 1 deleted
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LMDZ.GENERIC/README
r374 r375 546 546 "datafile.h" into a F90 module "datafile_mod.F90" and spread this change 547 547 to all routines that used to use "datafile.h". 548 549 == 10/11/2011 == EM 550 - Upgrade of the 'create_make_gcm' script: objects are removed from the 551 libraries before compilation, which enforces that the gcm will fail to 552 compile if any routine failed to compile. -
trunk/LMDZ.GENERIC/create_make_gcm
r302 r375 222 222 done 223 223 echo $str1 224 # Compile in LOCAL_DIR directory, and before compiling, 225 # remove the object from the library 226 echo ' cd $(LOCAL_DIR); \' 227 echo ' $(AR) d $(LIBO)/lib'$diri'.a '$fili'.o ; \' 224 228 if [ "$F90" -eq '0' ] ; then 225 echo ' cd $(LOCAL_DIR); \' 226 229 ## Fixed Form Fortran 77 230 echo ' $(COMPILE) $(LIBF)/'$diri'/'$trufile' ; \' 227 231 else 228 echo ' cd $(LOCAL_DIR); \'232 ## Fortran 90 229 233 if [ -f $fili.F90 ] ; then 230 echo ' $(COMPTRU90) $(LIBF)/'$diri'/'$trufile' ; \' 234 ## Free Form Fortran 90 235 echo ' $(COMPTRU90) $(LIBF)/'$diri'/'$trufile' ; \' 231 236 else 232 echo ' $(COMPILE90) $(LIBF)/'$diri'/'$trufile' ; \' 237 ## Fixed Form Fortran 90 238 echo ' $(COMPILE90) $(LIBF)/'$diri'/'$trufile' ; \' 233 239 fi 234 240 MODU=0; egrep -i '^ *module ' $trufile> /dev/null 2>&1 && MODU=1 … … 245 251 echo ' sxar r $(LIBO)/libsx'$diri'.a '$fili'.o ; \' 246 252 fi 253 # Put generated object in library 247 254 echo ' $(AR) r $(LIBO)/lib'$diri'.a '$fili'.o ; $(RM) '$fili'.o ; \' 248 255 echo ' cd $(GCM)'
Note: See TracChangeset
for help on using the changeset viewer.