src/world/bin/Makefile

19 lines
398 B
Makefile
Raw Normal View History

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