This is the mail archive of the cygwin@sourceware.cygnus.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

RE: B20.1: make dependencies broken


I tried adding
.SUFFIXES: .bat
and it didn't make any difference.

Kevin.

> 
> Ok.  You problen with .bat is that it is an suffix that isn't a 
> default one. 
> What happens if you add .SUFFIXES .bat?
> 
> Earnie.
> 
> > > > I've found the following problem with make on B20.1.
> > > > Try the following makefile:
> > > > ------------------------------
> > > > NTTOOLSDIR = /tmp
> > > >
> > > > NTTOOLS = $(NTTOOLSDIR)/f1.bat \
> > > >           $(NTTOOLSDIR)/f2.bat
> > > >
> > > > All: $(NTTOOLS)
> > > >
> > > > $(NTTOOLS): $(NTTOOLSDIR)/%: %
> > > >
> > > > $(NTTOOLS):
> > > >         # making $@ due to $?
> > > >         cp $? $@
> > > > --------------------------------
> > > >
> > > > now touch f1.bat f2.bat
> > > >
> > > >
> > > > make always reports:
> > > > make: Nothing to be done for `All'.
> > > >
> > > > Removing the .bat extension on f1/f2 fixes the problem.
> > > > Removing the second file from NTTOOLS fixes the problem.
> > > >
> > > > This all worked fine on B17.
> > > >
> > > > I'm using NT4 SP5
> > > >


--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe@sourceware.cygnus.com


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]