waterboy/Makefile

16 lines
251 B
Makefile

.DEFAULT_GOAL := all
NODEMCU_CMDS = upload build clean
define PLUMBED
.PHONY: $(1)/$(2)
$(1)/$(2):
make -C $(1) $(2)
endef
$(foreach cmd,$(NODEMCU_CMDS),$(eval $(call PLUMBED,nodemcu,$(cmd))))
.PHONY: prom-x86
prom-x86:
bash prometheus/start.sh