dotfiles/makefile

19 lines
344 B
Makefile
Raw Normal View History

# -*- mode: makefile-gmake; -*-
SRC_DIR := $(shell dirname $(realpath $(lastword $(MAKEFILE_LIST))))
include lib/shared.mk
define recursive_make
for i in */makefile; do
echo "`dirname $$i` "
2021-11-28 21:33:24 +00:00
$(MAKE) --keep-going -C $(SRC_DIR)/`dirname $$i` $1
echo ""
done
endef
2021-11-28 21:33:24 +00:00
up:
$(call recursive_make,up)
2021-11-28 21:33:24 +00:00
down:
$(call recursive_make,down)