tests: rules.mk: avoid non-posix brace expansion

Brace expansion is not posix defined, even if it's widely available.
Avoid it's use for portability.
This commit is contained in:
Karl Palsson 2018-06-08 10:02:42 +00:00
parent bc70d3b459
commit ea6a5a7efd
1 changed files with 2 additions and 1 deletions

View File

@ -71,6 +71,7 @@ OPENCM3_INC = $(OPENCM3_DIR)/include
INCLUDES += $(patsubst %,-I%, . $(OPENCM3_INC) )
OBJS = $(CFILES:%.c=$(BUILD_DIR)/%.o)
GENERATED_BINS = $(PROJECT).elf $(PROJECT).bin $(PROJECT).map $(PROJECT).list $(PROJECT).lss
TGT_CPPFLAGS += -MD
TGT_CPPFLAGS += -Wall -Wundef $(INCLUDES)
@ -164,7 +165,7 @@ else
endif
clean:
rm -rf $(BUILD_DIR) $(PROJECT).{elf,bin} $(PROJECT).{list,lss,map}
rm -rf $(BUILD_DIR) $(GENERATED_BINS)
.PHONY: all clean flash
-include $(OBJS:.o=.d)