From 920f773a8171d4c01033a50ae0d3dff459b03603 Mon Sep 17 00:00:00 2001 From: Vincent Lefevre Date: Thu, 14 Mar 2019 14:59:27 +0100 Subject: [PATCH] Fix "make -j test" The clean-s rule must be run before the tests, not at the same time! --- tests/Makefile | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/tests/Makefile b/tests/Makefile index d3c49fb..9a4d123 100644 --- a/tests/Makefile +++ b/tests/Makefile @@ -59,7 +59,9 @@ RUN_TCC = $(NATIVE_DEFINES) -run $(TOPSRC)/tcc.c $(TCCFLAGS) DISAS = objdump -d DUMPTCC = (set -x; $(TOP)/tcc -vv; ldd $(TOP)/tcc; exit 1) -all test : clean-s $(TESTS) +all test : + $(MAKE) clean-s + $(MAKE) $(TESTS) hello-exe: ../examples/ex1.c @echo ------------ $@ ------------