- Subject: Re: Calling Makefile from different directory
- From: "John E. Davis" <davis@xxxxxxxxxxxxx>
- Date: Fri, 23 Apr 2004 23:30:23 -0400
Martin Klaiber <martinkl@xxxxxxxxxxxxxxxxxx> wrote:
>Does someone know a way to tell JED to start compiling from the
>directory where I started JED? Calling make with
>
> make -f ../Makefile
>
>is no solution, because JED is still in the subdirectory and the paths
>in the Makefile are wrong then.
What about this:
define make ()
{
variable cmd = read_mini ("Compile command:","","");
variable cbuf = whatbuf ();
setbuf ("*scratch*");
compile (cmd);
sw2buf (cbuf);
}
Thanks,
--John
--------------------------
To unsubscribe send email to <jed-users-request@xxxxxxxxxxx> with
the word "unsubscribe" in the message body.
Need help? Email <jed-users-owner@xxxxxxxxxxx>.
[2004 date index]
[2004 thread index]
[Thread Prev] [Thread Next]
[Date Prev] [Date Next]