From 0a9e71e8f0c0503585a80b543ea64fe9edf47902 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?c0ff3m4kr=20=E3=8B=9B?= Date: Tue, 4 Nov 2014 11:01:27 +0100 Subject: [PATCH] Wildcard for HANDLEBARS_FILES Using wildcard command to get all the .handlebar files. TEMPLATES_JS will be generated again when the HANDLEBARS_FILES are newer. --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 9c9ac44..5ce77e0 100644 --- a/Makefile +++ b/Makefile @@ -1,6 +1,6 @@ TEMPLATES_JS=app/js/templates.js -HANDLEBARS_FILES=app/templates/*.handlebars # Used to generate templates.js +HANDLEBARS_FILES=$(wildcard app/templates/*.handlebars) # Used to generate templates.js .PHONY: all all: $(TEMPLATES_JS)