src/world/usr.sbin/Makefile

20 lines
383 B
Makefile

# Makefile - hhl - /usr/src/world/usr.sbin
# Copyright 2020 Nathan Fisher <nfisher.sr@gmail.com>
#
subdirs = $(shell find . -maxdepth 1 -mindepth 1 -type d)
export sbin = 1
default_goal = all
include src-config.mk
all: ${subdirs}
${subdirs}:
$(MAKE) -C $@
clean:
for d in ${subdirs} ; do $(MAKE) -C $${d} clean ; done
.PHONY: all ${subdirs} clean