36 lines
458 B
Makefile
36 lines
458 B
Makefile
|
|
|
|
define CONFIG_MSG =
|
|
|
|
You do not have a config.mk file.
|
|
|
|
Please run "./configure" or copy `config.mk.in` to `config.mk` and edit its settings
|
|
|
|
endef
|
|
|
|
|
|
|
|
default: terraform ansible
|
|
|
|
terraform ansible: config.mk
|
|
@$(MAKE) -C $@
|
|
|
|
ssh: config.mk
|
|
$(MAKE) -C ansible ssh
|
|
|
|
#ansible:
|
|
# @$(MAKE) -C ansible
|
|
|
|
config.mk:
|
|
@ $(info $(CONFIG_MSG) )
|
|
@ exit 1
|
|
|
|
clean:
|
|
rm -f config.mk
|
|
@$(MAKE) -C terraform clean
|
|
@$(MAKE) -C ansible clean
|
|
|
|
|
|
.PHONY: terraform ansible
|
|
|
|
|