Skip to content

Commit

Permalink
[build] Add "make help" command
Browse files Browse the repository at this point in the history
  • Loading branch information
Ecco authored and EmilieNumworks committed Sep 27, 2019
1 parent fd3c66a commit 5ef8f2b
Showing 1 changed file with 21 additions and 48 deletions.
69 changes: 21 additions & 48 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,6 @@ endef

.PHONY: info
info:
@echo "========= Building Flags ========="
@echo "EPSILON_VERSION = $(EPSILON_VERSION)"
@echo "EPSILON_APPS = $(EPSILON_APPS)"
@echo "EPSILON_I18N = $(EPSILON_I18N)"
Expand All @@ -44,54 +43,28 @@ info:
@echo "ION_STORAGE_LOG" = $(ION_STORAGE_LOG)
@echo "POINCARE_TREE_LOG" = $(POINCARE_TREE_LOG)
@echo "POINCARE_TESTS_PRINT_EXPRESSIONS" = $(POINCARE_TESTS_PRINT_EXPRESSIONS)
@echo "=================================="
@echo ""
@echo "============= Targets ============"
@echo "--------- Cross-platforms --------"
@echo "epsilon"
@echo "epsilon.on-boarding"
@echo "epsilon.on-boarding.update"
@echo "epsilon.on-boarding.beta"
@echo "test"
@echo "PHONY:"
@echo " clean"
@echo " clean_for_apps_selection (use this 'light' clean before changing the flag EPSILON_APPS)"
@echo "----------------------------------"
@echo ""
@echo "------------- Device -------------"
@echo "flasher.light"
@echo "flasher.verbose"
@echo "bench.ram"
@echo "bench.flash"
@echo "PHONY:"
@echo " binpack"
@echo " %_two_binaries"
@echo " %_size"
@echo " %_run"
@echo " %_memory_map"
@echo " %_flash"
@echo " clean_for_apps_selection (use this 'light' clean before changing the flag EPSILON_APPS)"
@echo ".............N0110................"
@echo "test.external_flash.write"
@echo "test.external_flash.read"
@echo ".................................."
@echo "----------------------------------"
@echo ""
@echo "----------- emscripten -----------"
@echo "simulator.zip"
@echo "----------------------------------"
@echo ""
@echo "----------- blackbox -------------"
@echo "compare"
@echo "PHONY:"
@echo " tests/%.run"
@echo " tests/%.render"
@echo " integration_tests"
@echo " epsilon_fuzz"
@echo " compare_fuzz"
@echo "----------------------------------"

.PHONY: help
help:
@echo "Device targets"
@echo " make epsilon_flash"
@echo " make epsilon.dfu"
@echo " make epsilon.on-boarding.dfu"
@echo " make epsilon.on-boarding.update.dfu"
@echo " make epsilon.on-boarding.beta.dfu"
@echo " make flasher.light.bin"
@echo " make flasher.verbose.dfu"
@echo " make bench.ram.bin"
@echo " make bench.flash.bin"
@echo " make binpack"
@echo ""
@echo "=================================="
@echo "Simulator targets"
@echo " make PLATFORM=simulator"
@echo " make PLATFORM=simulator TARGET=android"
@echo " make PLATFORM=simulator TARGET=ios"
@echo " make PLATFORM=simulator TARGET=macos"
@echo " make PLATFORM=simulator TARGET=web"
@echo " make PLATFORM=simulator TARGET=windows"

# Since we're building out-of-tree, we need to make sure the output directories
# are created, otherwise the receipes will fail (e.g. gcc will fail to create
Expand Down

0 comments on commit 5ef8f2b

Please sign in to comment.