help-gnu-utils
[Top][All Lists]
Advanced

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

Re: How to use the make for other programme


From: Guy Harrison
Subject: Re: How to use the make for other programme
Date: Sun, 22 Aug 2004 13:00:00 GMT
User-agent: KNode/0.7.7

Qian Hailong wrote:

> Hi GNU,
>   I want to use the GUN make for other programme, not
> the C programme.

<makefile>
URL     =http://some.url
DIR     =some/folder
FIL     =foo.html

$(FIL):
        wget $(URL)/$(DIR)/$(FIL) || rm -v $(FIL)
</makefile>

> And how I set the compiler?

Environmental variable CC is conventionally imported. You can also set it
inside the makefile. Ditto CXX for C++ compiler (details in gmake manual)




reply via email to

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