1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00
RIOT/Makefile

73 lines
1.9 KiB
Makefile
Raw Normal View History

.all:
2014-03-31 13:59:02 +02:00
.PHONY: all doc doc-man doc-latex docclean print-versions welcome
2014-03-31 13:59:02 +02:00
all: welcome
@echo ""
@exit 1
doc:
@./dist/tools/features_yaml2mx/features_yaml2mx.py \
features.yaml \
--output-md doc/doxygen/src/feature_list.md
"$(MAKE)" -BC doc/doxygen
2013-08-12 11:08:19 +02:00
doc-man:
"$(MAKE)" -BC doc/doxygen man
doc-latex:
"$(MAKE)" -BC doc/doxygen latex
docclean:
"$(MAKE)" -BC doc/doxygen clean
clean:
@echo "Cleaning all build products for the current board"
2018-08-30 22:52:01 +02:00
@for dir in $(APPLICATION_DIRS); do "$(MAKE)" -C$$dir clean; done
2020-06-23 14:47:15 +02:00
pkg-clean:
@echo "Cleaning all package sources"
rm -rf build/pkg
distclean: docclean pkg-clean
@echo "Cleaning all build products"
2018-08-30 22:52:01 +02:00
@for dir in $(APPLICATION_DIRS); do "$(MAKE)" -C$$dir distclean; done
print-versions:
@./dist/tools/ci/print_toolchain_versions.sh
generate-features:
@./dist/tools/features_yaml2mx/features_yaml2mx.py \
features.yaml \
--output-makefile makefiles/features_existing.inc.mk
include makefiles/boards.inc.mk
include makefiles/app_dirs.inc.mk
include makefiles/tools/riotgen.inc.mk
-include makefiles/tests.inc.mk
include makefiles/color.inc.mk
welcome:
@echo "Welcome to RIOT - The friendly OS for IoT!"
@echo ""
@echo "You executed 'make' from the base directory."
@echo "Usually, you should run 'make' in your application's directory instead."
@echo ""
@echo "Please see our Quick Start Guide at:"
2017-05-31 07:27:54 +02:00
@echo " https://doc.riot-os.org/getting-started.html"
@echo "You can ask questions or discuss with other users on our forum:"
2020-12-09 17:18:50 +01:00
@echo " https://forum.riot-os.org"
@echo ""
@echo "Available targets for the RIOT base directory include:"
@echo " generate-{board,driver,example,module,pkg,test,features}"
@echo " info-{applications,boards,emulated-boards} info-applications-supported-boards"
@echo " print-versions"
@echo " clean distclean pkg-clean"
@echo " doc doc-{man,latex}"
@echo ""
@echo "==> tl;dr Try running:"
@echo " cd examples/default"
@echo " make BOARD=<INSERT_BOARD_NAME>"