From: Patrick Noffke <patrick.noffke@gmail.com>
Subject: Re: Emacs Ada mode with RTS
Date: Fri, 19 Jun 2015 07:47:49 -0700 (PDT)
Date: 2015-06-19T07:47:49-07:00 [thread overview]
Message-ID: <bcced90e-9010-4307-bc1f-f5036fcab40f@googlegroups.com> (raw)
In-Reply-To: <86ioajaiyu.fsf@stephe-leake.org>
On Friday, June 19, 2015 at 9:09:01 AM UTC-5, Stephen Leake wrote:
> Patrick Noffke writes:
>
> > Is there a way to make ada-mode's Check syntax
> > or Build commands dependent on a rule (i.e. generating the config
> > file) in my Makefile?
>
> I'm not sure what you are asking.
>
> When I use a Makefile, I put check and build targets in there; I never
> use the Ada | Build menu.
>
> You can set the Ada | Build | Check command to run 'make check' in your .adp:
>
> check_cmd=make check
>
If I want to use the Ada | Build | Check syntax command to check that a single file compiles, then I would need to first ensure the config file is created with gprconfig (i.e. as a make dependency).
How would the file name get passed to the Makefile? Do I need to grab the last command-line argument from within the Makefile, or is there another way?
It's not that big of a deal right now -- I can just build the entire project as I'm editing to check my syntax.
Thanks,
Patrick
next prev parent reply other threads:[~2015-06-19 14:47 UTC|newest]
Thread overview: 17+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-06-17 18:12 Emacs Ada mode with RTS Patrick Noffke
2015-06-17 21:30 ` Simon Wright
2015-06-18 13:48 ` Patrick Noffke
2015-06-18 14:06 ` Simon Wright
2015-06-18 15:09 ` Patrick Noffke
2015-06-18 15:21 ` Patrick Noffke
2015-06-19 13:56 ` Stephen Leake
2015-06-18 15:34 ` Stephen Leake
2015-06-18 18:19 ` Patrick Noffke
2015-06-19 14:01 ` Stephen Leake
2015-06-18 18:39 ` Patrick Noffke
2015-06-18 19:19 ` Simon Wright
2015-06-19 14:12 ` Stephen Leake
2015-06-19 19:19 ` Simon Wright
2015-06-19 14:08 ` Stephen Leake
2015-06-19 14:47 ` Patrick Noffke [this message]
2015-06-21 9:48 ` Stephen Leake
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox