diff --git a/unit_tests/rules.mk b/unit_tests/rules.mk index 8d775c6ce0..c9724b657a 100644 --- a/unit_tests/rules.mk +++ b/unit_tests/rules.mk @@ -1,10 +1,11 @@ # ARM Cortex-Mx common makefile scripts and rules. -# Output directory and files ifeq ($(BUILDDIR),) + # Define if not specified BUILDDIR = build endif ifeq ($(BUILDDIR),.) + # Redefine if pointing at current folder BUILDDIR = build endif OUTFILES = $(BUILDDIR)/$(PROJECT)