src/world/sbin/Makefile

20 lines
422 B
Makefile

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