[Top][All Lists]

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

Re: Compile group of modules

From: Ken Smith
Subject: Re: Compile group of modules
Date: Tue, 17 Oct 2006 12:44:29 -0700

Including the make-w32 list as they may be able to help you with this better.


On 10/16/06, Uri Shkolnik <address@hidden> wrote:
I ask similar question two months ago, but, I'm still without an answer.... 
please help....

I have a list of modules (it may be changed according to the application I 
Each module has its own makefile that resides in the module's directory.
I would like to execute all the relevant makefiles.

The major obstacle is that I must use make v3.78.1 @ win32 (windows) 

The classic solution (for U*X systems)  should be something like:

clean_all: $(MODULES)
    $(foreach MOD,$(MODULES),make -C $(MOD) clean;)

The problem is that for win32 systems, semicolon is invalid character (maybe it should 
be replaced with &&, but this is illegal from the make parser side)
Removing the semicolon cause error after the first loop -
        [ process for first interaction...]
        *** No rule to make target 'make'.  Stop.

Any idea how to solve this?

I'm novice to "make", so please do not use insider terminology.... :)

Help-make mailing list

reply via email to

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