From d47026b29cf93212b56d8ff1c4b019e97dd716f0 Mon Sep 17 00:00:00 2001 From: Juan Wajnerman Date: Tue, 10 Mar 2020 17:31:19 -0300 Subject: [PATCH] Replace glob patterns in Makefile with `find` command --- Makefile | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 9c033dcd..dcb7509b 100644 --- a/Makefile +++ b/Makefile @@ -2,7 +2,9 @@ CRYSTAL = crystal CRFLAGS = -SOURCES = src/*.cr src/**/*.cr lib/molinillo/**/*.cr +SHARDS_SOURCES = $(shell find src -name '*.cr') +MOLINILLO_SOURCES = $(shell find lib/molinillo -name '*.cr') +SOURCES = $(SHARDS_SOURCES) $(MOLINILLO_SOURCES) TEMPLATES = src/templates/*.ecr DESTDIR =