Line 39... |
Line 39... |
# Make defaults and targets
|
# Make defaults and targets
|
#-------------------------------------------------------------------------------
|
#-------------------------------------------------------------------------------
|
.SUFFIXES:
|
.SUFFIXES:
|
.DEFAULT_GOAL := help
|
.DEFAULT_GOAL := help
|
|
|
TOPTARGETS := compile clean_all check info
|
TOPTARGETS := exe clean_all check info all
|
|
|
SUBDIRS := $(wildcard */.)
|
SUBDIRS := $(wildcard */.)
|
# ignore dummy folders (starting with '~')
|
# ignore dummy folders (starting with '~')
|
DUMMYDIRS := $(wildcard ~*/.)
|
DUMMYDIRS := $(wildcard ~*/.)
|
SUBDIRS := $(filter-out $(DUMMYDIRS), $(SUBDIRS))
|
SUBDIRS := $(filter-out $(DUMMYDIRS), $(SUBDIRS))
|
Line 58... |
Line 58... |
|
|
#-------------------------------------------------------------------------------
|
#-------------------------------------------------------------------------------
|
# Help
|
# Help
|
#-------------------------------------------------------------------------------
|
#-------------------------------------------------------------------------------
|
help:
|
help:
|
@echo "Compile / clean up all projects"
|
@echo "Build / clean up all projects"
|
@echo "Targets:"
|
@echo "Targets:"
|
@echo " help - show this text"
|
@echo " help - show this text"
|
@echo " check - check toolchain"
|
@echo " check - check toolchain"
|
@echo " info - show makefile configuration"
|
@echo " info - show makefile configuration"
|
@echo " compile - compile all projects"
|
@echo " exe - create executables from all projects"
|
|
@echo " all - create executables and boot images from all projects"
|
@echo " clean_all - clean up everything"
|
@echo " clean_all - clean up everything"
|
|
|