as suggested by Oliver:

- only output messages if MAKELEVEL is 0
- indent nested ifeq
- use if (,) syntax
This commit is contained in:
mrdudz
2021-05-16 22:24:35 +02:00
parent 1450f146a5
commit ce487651b0
4 changed files with 22 additions and 11 deletions

View File

@@ -81,6 +81,9 @@ hello: hello.c text.s
# empty target used to skip systems that will not work with any program in this dir
notavailable:
@echo "warning: tutorial sample not available for" $(SYS)
ifeq ($(MAKELEVEL),0)
@echo "info: tutorial sample not available for" $(SYS)
endif
clean:
@$(DEL) hello 2>$(NULLDEV)