help-make
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: problems running certain utilities via makefile (Win32)


From: Nicholas Clark
Subject: Re: problems running certain utilities via makefile (Win32)
Date: Fri, 4 Dec 2015 11:53:52 -0700

Hi Gorlash,

On the subject of your "syntax error near unexpected token `('" errors,
have you tried putting your parentheses arguments in quotes?

Instead of this:

lint: $(SOURCE_FILES)
    $(LINT_TOOL)  +v -width(160,4)  +fcp -ic:\lint9 mingw.lnt -os(_lint.tmp)
$(SOURCE_FILES)

Try this:


lint: $(SOURCE_FILES)
    $(LINT_TOOL)  +v "-width(160,4)"  +fcp -ic:\lint9 mingw.lnt
"-os(_lint.tmp)" $(SOURCE_FILES)


-Nick


On Fri, Dec 4, 2015 at 11:32 AM, Gorlash <address@hidden> wrote:

> Hi Paul!
> Yes, I do use other utilities in \git\bin, though only a couple...
>
> I tried experimenting with .ONESHELL, but it didn't solve this problem,
> possibly because I don't really understand how to use it properly...
>
> On Fri, Dec 4, 2015 at 10:29 AM, Paul Smith-20 [via Gnu - Make] <
> address@hidden> wrote:
>
> > On Fri, 2015-12-04 at 10:13 -0800, Gorlash wrote:
> > > BTW, the sh.exe that make is picking up, is in \git\bin; I cannot
> > > really delete that, since git uses it for other purposes.
> >
> > FWIW, the way I have dealt with this in the past is to put the \git\cmd
> > directory on Windows PATH, NOT \git\bin.  The \git\cmd directory
> > contains ONLY git.exe (and a few small extras) and not the entire suite
> > of UNIX command line tools that come with Git for Windows.
> >
> > That might not be good enough if you use other tools from \git\bin of
> > course.  Eli will have to comment about tricks to use with make SHELL to
> > get what you want, if possible.
> >
> >
> > _______________________________________________
> > Help-make mailing list
> > [hidden email] <http:///user/SendEmail.jtp?type=node&node=16743&i=0>
> > https://lists.gnu.org/mailman/listinfo/help-make
> >
> >
> > ------------------------------
> > If you reply to this email, your message will be added to the discussion
> > below:
> >
> >
> http://gnu-make.2324884.n4.nabble.com/problems-running-certain-utilities-via-makefile-Win32-tp16736p16743.html
> > To unsubscribe from problems running certain utilities via makefile
> > (Win32), click here
> > <
> http://gnu-make.2324884.n4.nabble.com/template/NamlServlet.jtp?macro=unsubscribe_by_code&node=16736&code=ZG1pbGxlckB2aXRhbGNvbm5lY3QuY29tfDE2NzM2fC01MDg3MTY3NzY=
> >
> > .
> > NAML
> > <
> http://gnu-make.2324884.n4.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml
> >
> >
>
>
>
>
> --
> View this message in context:
> http://gnu-make.2324884.n4.nabble.com/problems-running-certain-utilities-via-makefile-Win32-tp16736p16744.html
> Sent from the Gnu - Make - Help mailing list archive at Nabble.com.
> _______________________________________________
> Help-make mailing list
> address@hidden
> https://lists.gnu.org/mailman/listinfo/help-make
>


reply via email to

[Prev in Thread] Current Thread [Next in Thread]