2014-06-18 11:00:33 +02:00
|
|
|
.all:
|
2014-03-31 13:59:02 +02:00
|
|
|
|
2019-05-24 14:27:12 +02:00
|
|
|
.PHONY: all doc doc-man doc-latex docclean print-versions welcome
|
2014-03-31 13:59:02 +02:00
|
|
|
|
2014-06-18 11:00:33 +02:00
|
|
|
all: welcome
|
|
|
|
@echo ""
|
|
|
|
@exit 1
|
2013-02-06 13:20:21 +01:00
|
|
|
|
2013-02-08 19:34:07 +01:00
|
|
|
doc:
|
2014-01-21 14:52:55 +01:00
|
|
|
"$(MAKE)" -BC doc/doxygen
|
2013-08-12 11:08:19 +02:00
|
|
|
|
2015-07-20 13:43:13 +02:00
|
|
|
doc-man:
|
|
|
|
"$(MAKE)" -BC doc/doxygen man
|
|
|
|
|
|
|
|
doc-latex:
|
|
|
|
"$(MAKE)" -BC doc/doxygen latex
|
|
|
|
|
2014-01-21 14:52:55 +01:00
|
|
|
docclean:
|
|
|
|
"$(MAKE)" -BC doc/doxygen clean
|
2014-05-15 17:12:42 +02:00
|
|
|
|
2014-08-04 22:03:05 +02:00
|
|
|
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
|
2014-08-04 22:03:05 +02:00
|
|
|
|
2020-06-23 14:47:15 +02:00
|
|
|
pkg-clean:
|
|
|
|
@echo "Cleaning all package sources"
|
|
|
|
rm -rf build/pkg
|
|
|
|
|
|
|
|
distclean: docclean pkg-clean
|
2014-08-04 22:03:05 +02:00
|
|
|
@echo "Cleaning all build products"
|
2018-08-30 22:52:01 +02:00
|
|
|
@for dir in $(APPLICATION_DIRS); do "$(MAKE)" -C$$dir distclean; done
|
2014-08-04 22:03:05 +02:00
|
|
|
|
2014-05-15 17:12:42 +02:00
|
|
|
welcome:
|
|
|
|
@echo "Welcome to RIOT - The friendly OS for IoT!"
|
|
|
|
@echo ""
|
|
|
|
@echo "You executed 'make' from the base directory."
|
2023-12-15 11:22:45 +01:00
|
|
|
@echo "Usually, you should run 'make' in your application's directory instead."
|
2014-05-15 17:12:42 +02:00
|
|
|
@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"
|
2021-05-03 11:16:25 +02:00
|
|
|
@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"
|
2023-12-15 11:22:45 +01:00
|
|
|
@echo ""
|
|
|
|
@echo "Available targets for the RIOT base directory include:"
|
|
|
|
@echo " generate-{board,driver,example,module,pkg,test}"
|
|
|
|
@echo " info-{applications,boards,emulated-boards} info-applications-supported-boards"
|
|
|
|
@echo " print-versions"
|
|
|
|
@echo " clean distclean pkg-clean"
|
|
|
|
@echo " doc doc-{man,latex}"
|
2015-11-24 06:02:39 +01:00
|
|
|
|
2019-05-24 14:27:12 +02:00
|
|
|
print-versions:
|
|
|
|
@./dist/tools/ci/print_toolchain_versions.sh
|
|
|
|
|
2019-05-27 20:56:47 +02:00
|
|
|
include makefiles/boards.inc.mk
|
2018-08-30 22:52:01 +02:00
|
|
|
include makefiles/app_dirs.inc.mk
|
|
|
|
|
2018-02-15 22:07:46 +01:00
|
|
|
include makefiles/tools/riotgen.inc.mk
|
2016-01-27 10:47:12 +01:00
|
|
|
-include makefiles/tests.inc.mk
|