Makefile
suppress echoing the actually command using @
say_hello:
@echo "Hello World"
override default goal
.DEFAULT_GOAL := generate
add special phony target (by default after make is filename)
.PHONY: sample test mock
Looping through list
dirs = $(shell ls)
clean:
@$(foreach dir,$(dirs),echo $(dir);)