help-make
[Top][All Lists]
Advanced

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

Re: Generate binaries into a different folder from src


From: Garrett Cooper
Subject: Re: Generate binaries into a different folder from src
Date: Thu, 27 Nov 2008 11:48:40 -0800

On Tue, Nov 25, 2008 at 8:51 PM, MTsoul <address@hidden> wrote:
>
> Hi,
>
> This is to compile Java .java files into .class files. It's the same as
> C/C++ make, only simpler since there are no cross-source dependencies.
>
> My question is this. I have source files in ./src/, and i want to generate
> objects into ./bin/. I want a makefile in ./makefile. How do I write this
> makefile? There are constant additions of source files, so I'd like the
> makefile to have some kind of wild character search. The only dependency
> each binary has is its corresponding source file (no includes dependencies).
>
> Any ideas?
>
> Thanks in advance.

http://www.gnu.org/software/make/manual/make.html#General-Search
http://www.gnu.org/software/make/manual/make.html#Implicit-Rules

Cheers,
-Garrett




reply via email to

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