src/world/usr.bin/Makefile

16 lines
337 B
Makefile
Raw Normal View History

# 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)
all: ${subdirs}
${subdirs}:
$(MAKE) ${makeflags} -C $@
clean:
for dir in ${subdirs} ; do $(MAKE) -C $${dir} clean ; done
.PHONY: all ${subdirs} clean