From 098f3e2862a82a9005a256deb2f1edf2d7a32ef2 Mon Sep 17 00:00:00 2001 From: Paul Sokolovsky Date: Tue, 19 Apr 2016 11:54:07 +0300 Subject: [PATCH] stmhal: Update Makefile dependencies. --- stmhal/Makefile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/stmhal/Makefile b/stmhal/Makefile index ef1379030f..1b4b78e43e 100644 --- a/stmhal/Makefile +++ b/stmhal/Makefile @@ -372,7 +372,8 @@ $(OBJ): | $(HEADER_BUILD)/pins.h # options change. $(HEADER_BUILD)/qstrdefs.generated.h: boards/$(BOARD)/mpconfigboard.h -$(BUILD)/main.o: $(GEN_CDCINF_HEADER) +# main.c can't be even preprocessed without $(GEN_CDCINF_HEADER) +main.c: $(GEN_CDCINF_HEADER) # Use a pattern rule here so that make will only call make-pins.py once to make # both pins_$(BOARD).c and pins.h