Changes between Initial Version and Version 1 of Ticket #377


Ignore:
Timestamp:
12/10/09 16:36:00 (15 years ago)
Author:
arango
Comment:

Yes, thank you. I also modified the definition of MAKE_MACROS to

MAKE_MACROS := $(shell echo ${HOME} | sed 's| |\\ |g')/make_macros.mk

so the file make_macros.mk is created temporarily in the user's home directory and then moved to the project directory. Previously, this file was created in the Compilers directory. This was problematic because other users in a computer system were not allowed to use a ROMS source code own by another user due to the lack of writing privileges to the Compilers directory.

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #377

    • Property ResolutionFixed
    • Property Status newclosed
  • Ticket #377 – Description

    initial v1  
    1 a few months ago, a correction was made in the makefile to correctly use
     1A few months ago, a correction was made in the makefile to correctly use
     2{{{
    23source-to-object = $(call source-dir-to-binary-dir,   \
    34                   $(subst .F,.o,$1))
    4 
    5 ( The word 'binary' was misspelled, and is now correct).
    6 However, that fix has created a problem. I can not correclty build on Cygwin. Cygwin now creates *.obj files.  The Cygwin-ifort.mk file has a catch to force ifort to make *.o not *.obj using
    7 
     5}}}
     6The word 'binary' was misspelled, and is now correct. However, that fix has created a problem. I can not correclty build on Cygwin. Cygwin now creates '''*.obj''' files.  The '''Cygwin-ifort.mk''' file has a catch to force ifort to make *.o not *.obj using
     7{{{
    88%.o: %.f90
    99        cd $(SCRATCH_DIR); $(FC) -c $(FFLAGS) $(notdir $<) /object:$(notdir $@)
    10 
    11 however, this line is not invoked anymore.
    12 I traced it back to the makefile, and was able to get it to build correctly by modifying line 278-279
    13 from ----->
    14 
     10}}}
     11However, this line is not invoked anymore. I traced it back to the '''makefile''', and was able to get it to build correctly by modifying line 278-279 from
     12{{{
    1513  $1: $2 $3
    1614        cd $$(SCRATCH_DIR); $$(FC) -c $$(FFLAGS) $(notdir $2)
    17 
    18 to ----->
    19 
     15}}}
     16to
     17{{{
    2018  $1: $2 $3
    2119        cd $$(SCRATCH_DIR); $$(FC) -c $$(FFLAGS) $(notdir $2) /object:$(notdir $1)
     20}}}
    2221
    2322