summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaul Sokolovsky <pfalcon@users.sourceforge.net>2016-04-19 11:54:07 +0300
committerPaul Sokolovsky <pfalcon@users.sourceforge.net>2016-04-19 11:54:07 +0300
commit098f3e2862a82a9005a256deb2f1edf2d7a32ef2 (patch)
tree02d0b38d770929959002b69334323cca7e867863
parent270dd293200b216545ea594937a79a88bc1e0bb0 (diff)
stmhal: Update Makefile dependencies.
-rw-r--r--stmhal/Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/stmhal/Makefile b/stmhal/Makefile
index ef1379030..1b4b78e43 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