Skip to content
Snippets Groups Projects
Makefile 1 KiB
Newer Older
  • Learn to ignore specific revisions
  • .PHONY: all doc doc-man doc-latex docclean welcome
    
    all: welcome
    	@echo ""
    	@exit 1
    
    Oleg Hahm's avatar
    Oleg Hahm committed
    
    
    	"$(MAKE)" -BC doc/doxygen
    
    Martine Lenders's avatar
    Martine Lenders committed
    
    
    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"
    
    	@for dir in $(APPLICATION_DIRS); do "$(MAKE)" -C$$dir clean; done
    
    
    distclean: docclean
    	@echo "Cleaning all build products"
    
    	@for dir in $(APPLICATION_DIRS); do "$(MAKE)" -C$$dir distclean; done
    
    welcome:
    	@echo "Welcome to RIOT - The friendly OS for IoT!"
    	@echo ""
    	@echo "You executed 'make' from the base directory."
    	@echo "You should run 'make' in your application's directory instead."
    	@echo ""
    	@echo "Please see our Quick Start Guide at:"
    
    	@echo "    https://doc.riot-os.org/getting-started.html"
    
    	@echo "Or ask questions on our mailing list:"
    	@echo "    users@riot-os.org (http://lists.riot-os.org/mailman/listinfo/users)"
    
    include makefiles/app_dirs.inc.mk
    
    
    -include makefiles/tests.inc.mk