2015-04-17 14:22:38 +00:00
|
|
|
####################################################################################
|
|
|
|
####################################################################################
|
|
|
|
## Copyright 2011(c) Analog Devices, Inc.
|
|
|
|
## Auto-generated, do not modify!
|
|
|
|
####################################################################################
|
|
|
|
####################################################################################
|
|
|
|
help:
|
|
|
|
@echo ""
|
|
|
|
@echo "Please specify a target."
|
|
|
|
@echo ""
|
|
|
|
@echo "To make all projects:"
|
|
|
|
@echo " make all"
|
|
|
|
@echo ""
|
|
|
|
@echo "To build a specific project:"
|
|
|
|
@echo " make proj.board"
|
|
|
|
@echo "e.g.,"
|
2018-03-23 13:58:13 +00:00
|
|
|
@echo " make adv7511.zed"
|
2015-04-17 14:22:38 +00:00
|
|
|
|
|
|
|
|
2018-03-23 13:55:42 +00:00
|
|
|
PROJECTS := $(filter-out $(NO_PROJ), $(notdir $(wildcard projects/*)))
|
|
|
|
SUBPROJECTS := $(foreach projname,$(PROJECTS), \
|
2018-03-23 15:03:16 +00:00
|
|
|
$(foreach archname,$(notdir $(subst /Makefile,,$(wildcard projects/$(projname)/*/Makefile))), \
|
2018-03-23 13:55:42 +00:00
|
|
|
$(projname).$(archname)))
|
|
|
|
|
|
|
|
.PHONY: lib all clean clean-all $(SUBPROJECTS)
|
|
|
|
|
|
|
|
$(SUBPROJECTS):
|
|
|
|
$(MAKE) -C projects/$(subst .,/,$@)
|
2015-04-17 14:22:38 +00:00
|
|
|
|
|
|
|
lib:
|
2018-03-06 12:36:06 +00:00
|
|
|
$(MAKE) -C library/ all
|
2015-04-17 14:22:38 +00:00
|
|
|
|
|
|
|
|
|
|
|
all:
|
2018-03-06 12:36:06 +00:00
|
|
|
$(MAKE) -C projects/ all
|
2015-04-17 14:22:38 +00:00
|
|
|
|
|
|
|
|
|
|
|
clean:
|
2018-03-06 12:36:06 +00:00
|
|
|
$(MAKE) -C projects/ clean
|
2015-04-17 14:22:38 +00:00
|
|
|
|
|
|
|
|
|
|
|
clean-all:clean
|
2018-03-06 12:36:06 +00:00
|
|
|
$(MAKE) -C projects/ clean
|
|
|
|
$(MAKE) -C library/ clean
|
2015-04-17 14:22:38 +00:00
|
|
|
|
|
|
|
####################################################################################
|
|
|
|
####################################################################################
|