Makefiles: avoid building all sources for each target; introduce more

modularity
This commit is contained in:
Émilie Feral
2019-07-11 14:40:25 +02:00
parent 518903c390
commit 059c596a80
40 changed files with 135 additions and 105 deletions

View File

@@ -9,7 +9,7 @@ $$(BUILD_DIR)/quiz/src/$(subst _src,,$(1))_symbols.c: $$($(1)) | $$$$(@D)/.
$$(Q) awk -f quiz/src/symbols.awk $$($(1)) > $$@
endef
$(eval $(call rule_for_quiz_symbols,tests))
$(eval $(call rule_for_quiz_symbols,tests_src))
$(eval $(call rule_for_quiz_symbols,test_ion_external_flash_write_src))
$(eval $(call rule_for_quiz_symbols,test_ion_external_flash_read_src))