help-make
[Top][All Lists]
Advanced

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

confuesion about parallel execution features


From: EdwardXu
Subject: confuesion about parallel execution features
Date: Sat, 31 Jul 2010 15:30:22 +0800

Hi,all
I'm trying to using parallel execution futures on my 4 cores computer(-j4 option). In my opinion, GNU make only can processes different objects parallelly, for example:
all: a.o  b.o c.o d.o e.o f.o
a.o:
    (CC) a.c
b.o:
    (CC) b.c
c.o:
    (CC) c.c
d.o:
    (CC) d.c
e.o:
    (CC) e.c
f.o:
    (CC) f.c
 
GNUmake will treat above objects parallel, make will create 4 CC process to compile a b c d e f objects, so there is  something cofused me, how make treat wildcard object? for example:
all:%.o
%.o:%.c
    (CC) %.c
 
 
 

reply via email to

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