B20.1: make dependencies broken
Earnie Boyd
earnie_boyd@yahoo.com
Wed Jan 26 06:59:00 GMT 2000
Sounds like a \r\n problem to me. Convert the Makefile line endings to \n
endings only.
Earnie.
--- Kevin Wright <kwright@uk.mdis.com> wrote:
> 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
>
> I've tried searching the archives for this problem, but can't find anything
> similar.
>
>
> --
> Want to unsubscribe from this list?
> Send a message to cygwin-unsubscribe@sourceware.cygnus.com
>
>
__________________________________________________
Do You Yahoo!?
Talk to your friends online with Yahoo! Messenger.
http://im.yahoo.com
--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe@sourceware.cygnus.com
More information about the Cygwin
mailing list