Fix "make -j test"

The clean-s rule must be run before the tests, not at the same time!
This commit is contained in:
Vincent Lefevre 2019-03-14 14:59:27 +01:00
parent 4b46e0ec63
commit 920f773a81

View File

@ -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 ------------ $@ ------------