﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc
377	make bug on cygwin	jcwarner	arango	"A few months ago, a correction was made in the makefile to correctly use
{{{
source-to-object = $(call source-dir-to-binary-dir,   \
                   $(subst .F,.o,$1))
}}}
The 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
{{{
%.o: %.f90
	cd $(SCRATCH_DIR); $(FC) -c $(FFLAGS) $(notdir $<) /object:$(notdir $@)
}}}
However, 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
{{{
  $1: $2 $3
	cd $$(SCRATCH_DIR); $$(FC) -c $$(FFLAGS) $(notdir $2)
}}}
to
{{{
  $1: $2 $3
	cd $$(SCRATCH_DIR); $$(FC) -c $$(FFLAGS) $(notdir $2) /object:$(notdir $1)
}}}




"	bug	closed	major	Release ROMS/TOMS 3.3	Nonlinear	3.3	Fixed		
