dotfiles/makefile
2021-11-28 16:33:24 -05:00

19 lines
344 B
Makefile

# -*- 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` "
$(MAKE) --keep-going -C $(SRC_DIR)/`dirname $$i` $1
echo ""
done
endef
up:
$(call recursive_make,up)
down:
$(call recursive_make,down)