From ade13eae972a4affabec6eb5ea23e6cc6592f624 Mon Sep 17 00:00:00 2001 From: Giovanni Bussi <giovanni.bussi@gmail.com> Date: Tue, 23 Apr 2013 12:06:25 +0200 Subject: [PATCH] Fixed Makefile It was (sometime) giving problems when using "make -j xx" with large xx, because of interdependencies between test/ and src/ Now src/ is compiled first --- Makefile | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 5830e34ac..135774a10 100644 --- a/Makefile +++ b/Makefile @@ -11,7 +11,9 @@ SUBDIRSCLEAN=$(addsuffix .clean,$(SUBDIRS)) # if machine dependent configuration has been found: ifdef GCCDEP -all: $(SRCDIRS) +all: + $(MAKE) lib + $(MAKE) -C test lib: $(MAKE) -C src -- GitLab