github.com/anchore/syft@v1.38.2/syft/pkg/cataloger/golang/test-fixtures/Makefile (about)

     1  .DEFAULT_GOAL := default
     2  
     3  default:
     4  	@for dir in $(shell find . -mindepth 1 -maxdepth 1 -type d); do \
     5  		if [ -f "$$dir/Makefile" ]; then \
     6  			$(MAKE) -C $$dir; \
     7  		fi; \
     8  	done
     9  
    10  %:
    11  	@for dir in $(shell find . -mindepth 1 -maxdepth 1 -type d); do \
    12  		if [ -f "$$dir/Makefile" ]; then \
    13  			$(MAKE) -C $$dir $@; \
    14  		fi; \
    15  	done