]> granicus.if.org Git - esp-idf/blobdiff - components/heap/test_multi_heap_host/Makefile
test_multi_heap_host: Remove race conditions from parallel "make clean test"
[esp-idf] / components / heap / test_multi_heap_host / Makefile
index f0d5ab1fc145a0ec48602eb41b909ee278e1c07e..16fd6439c5422fba2fca4c2ce6811ee94fbfb9b8 100644 (file)
@@ -1,6 +1,10 @@
 TEST_PROGRAM=test_multi_heap
 all: $(TEST_PROGRAM)
 
+ifneq ($(filter clean,$(MAKECMDGOALS)),)
+.NOTPARALLEL:  # prevent make clean racing the other targets
+endif
+
 SOURCE_FILES = $(abspath \
     ../multi_heap.c \
        ../multi_heap_poisoning.c \