src/world/usr.bin/Makefile

16 lines
349 B
Makefile

# Makefile - hhl - /usr/src/world/usr.bin
# Copyright 2020 Nathan Fisher <nfisher.sr@gmail.com>
#
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