diff --git a/Makefile b/Makefile index 59fc0e3..ccdbb87 100644 --- a/Makefile +++ b/Makefile @@ -1,5 +1,9 @@ -include config.mk +# Target to remove build artifacts +clean: + rm -rf build + # Parameter for current board ifeq ($(BOARD),) $(info $(shell echo Please set BOARD to one of the following)) @@ -19,10 +23,6 @@ BUILD=build/$(BOARD)/$(VERSION) all: $(BUILD)/ec.rom $(info Built '$(VERSION)' for '$(BOARD)') -# Target to remove build artifacts -clean: - rm -rf build - # Include common source COMMON_DIR=src/common SRC=$(wildcard $(COMMON_DIR)/*.c)