summaryrefslogtreecommitdiff
blob: 67ffa6fda7f6379777f6c1bd761dbf2a2043f371 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
Fix parallel build 

http://bugs.gentoo.org/show_bug.cgi?id=311919

--- a/Makefile.in
+++ b/Makefile.in
@@ -82,9 +82,10 @@
 all: core 
 
 core:
-	(cd easel;     make CC="$(CC)" CFLAGS="$(CFLAGS)"; make)
-	(cd src;       make CC="$(CC)" CFLAGS="$(CFLAGS)"; make module)
-	(cd testsuite; make CC="$(CC)" CFLAGS="$(CFLAGS)")
+	$(MAKE) -C easel
+	$(MAKE) -C src 
+	$(MAKE) -C src module
+	$(MAKE) -C testsuite
 
 #.PHONY: $(RIGFILTERS)
 #$(RIGFILTERS): core
--- a/easel/Makefile.in
+++ b/easel/Makefile.in
@@ -132,7 +132,7 @@
 	esl_wuss.o
 
 all: libeasel.a
-	(cd miniapps; make)
+	$(MAKE) -C miniapps
 
 .c.o: 
 	${CC} -I. ${CFLAGS} ${SIMDFLAGS} ${DEFS} -c $<