This is the mail archive of the cygwin 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]
Other format: [Raw text]

Re: downgrading make version


On Thu, Sep 21, 2006 at 12:57:58AM -0400, Christopher Faylor wrote:
> >(CP) = \cp
> >
> >install: $(PROGS)
> >	$(CP) $(PROGS) $(INSTBINDIR)
> >
> >\cp nda.exe mtk.exe sda.exe /home/mast/CYGMOD/bin
> >make: \cp: Command not found
> 
> The above is not valid makefile syntax but if I make obvious
> corrections, I get the same thing on Linux.  I don't know what you were
> expecting \cp to be translated to, but it shouldn't, IMO, be interpreted
> as a MS-DOS path.

Within a shell, one may also use \command to override an alias. Either way,
Makefile isn't a shell so it's bogus there.

-cl

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/


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