jed-users mailing list

[2004 Date Index] [2004 Thread Index] [Other years]
[Thread Prev] [Thread Next]      [Date Prev] [Date Next]

Re: Calling Makefile from different directory


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]