At 05:16 PM 9/20/99 -0700, you wrote:
>Hi,
>
>(Please send replies directly to me as I'm not subscribed to this mailing 
>list).
>
>Let's say I have the following hypothetical directory structure
>
>app
>app/src
>app/src/AAA
>app/src/AAA/BBB
>app/src/AAA/BBB/CCC
>app/src/DDD
>app/classes
>
>The application "app" would then consist of the following packages:
>AAA
>AAA.BBB
>AAA.BBB.CCC
>DDD
>
>Let's say that I have a Makefile in app/classes which when run from the 
>command-line will correctly make all class files.
>
>How can this makefile be invoked using JDE?  I've set
>  '(jde-build-use-make t t)
>so I'm definitely using make.  The problem is that make is invoked on the 
>directory of the SOURCE file, not the directory of the MAKEFILE file.  Is 
>there a way to specify a directory where the Makefile resides?
>
>

This is a FAQ: Use make's -f and -C command-line arguments. There is a JDE
variable (jde-make-args) where you can specify these arguments. The first
argument tells the make utility where the makefile is located and the
second tells make a directory in which to start the make process.

I use these arguments all the time in my JDE projects. They allow me to put
the makefile for the project anywhere I want in the project hierarchy.

- Paul

Reply via email to