Skip to content

Commit

Permalink
feat(rules): Add default rule to build default formats
Browse files Browse the repository at this point in the history
  • Loading branch information
alerque committed Jan 1, 2021
1 parent 33fe350 commit 6031209
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
3 changes: 3 additions & 0 deletions rules/casile.mk.in
Original file line number Diff line number Diff line change
Expand Up @@ -43,4 +43,7 @@ SILE ?= @SILE@
YQ ?= @YQ@
ZSH ?= @ZSH@

.PHONY: default
default: all

include $(CASILEDIR)rules/functions.mk
3 changes: 3 additions & 0 deletions rules/rules.mk
Original file line number Diff line number Diff line change
Expand Up @@ -213,6 +213,9 @@ $(foreach SOURCE,$(SOURCES),$(eval TARGETMACROS_$(SOURCE) := $(wildcard $(SOURCE
$(foreach SOURCE,$(SOURCES),$(eval TARGETYAMLS_$(SOURCE) := $(wildcard $(SOURCE).yml)))
$(foreach SOURCE,$(SOURCES),$(eval TARGETLUAS_$(SOURCE) := $(wildcard $(SOURCE).lua)))

.PHONY: all
all: $(FORMATS)

define format_template =
.PHONY: $(1)
$(1): $(call pattern_list,$(2),.$(1))
Expand Down

0 comments on commit 6031209

Please sign in to comment.