# Makefile - hhl - /usr/src/world/usr.bin # Copyright 2020 Nathan Fisher # subdirs = $(shell find . -maxdepth 1 -mindepth 1 -type d | grep -v file | grep -v awk) all: ${subdirs} ${subdirs}: $(MAKE) ${makeflags} -C $@ clean: for dir in ${subdirs} ; do $(MAKE) -C $${dir} clean ; done .PHONY: all ${subdirs} clean