forked from ovrclk/disco
-
Notifications
You must be signed in to change notification settings - Fork 0
/
make.mk
36 lines (27 loc) · 939 Bytes
/
make.mk
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
L0DIR ?= $(PWD)
PROFILE ?= packet
tfdir ?= $(L0DIR)/$(PROFILE)
tfstatedir ?= $(DATADIR)/state/$(PROFILE)
tfstatefs ?= $(tfstatedir)/state.tf
# tfvarfile ?= $(tfstatedir)/vars.tf.json
# layer0-init: layer0-init.$(TIER)
# layer0-init.%:
# $(eval tier := $(@:layer0-init.%=%))
# $(MAKE) layer0-init-${tier}
# .PHONY: .PHONY layer0-init layer0-init.%
# layer0-plan: layer0-plan.$(TIER)
# layer0-plan.%:
# $(eval tier := $(@:layer0-plan.%=%))
# $(MAKE) layer0-plan-${tier}
# .PHONY: .PHONY layer0-plan layer0-plan.%
# layer0-apply: layer0-apply.$(TIER)
# layer0-apply.%:
# $(eval tier := $(@:layer0-apply.%=%))
# $(MAKE) layer0-apply-${tier}
# .PHONY: .PHONY layer0-apply layer0-apply.%
# layer0-destroy: layer0-destroy.$(TIER)
# layer0-destroy.%:
# $(eval tier := $(@:layer0-destroy.%=%))
# $(MAKE) layer0-destroy-${tier}
# .PHONY: .PHONY layer0-destroy layer0-destroy.%
include $(L0DIR)/$(PROFILE)/make.mk