Skip to content

Commit 37ba55e

Browse files
authored
Replace glob patterns in Makefile with find command (#328)
1 parent 0cda157 commit 37ba55e

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

Makefile

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,9 @@
22

33
CRYSTAL = crystal
44
CRFLAGS =
5-
SOURCES = src/*.cr src/**/*.cr lib/molinillo/**/*.cr
5+
SHARDS_SOURCES = $(shell find src -name '*.cr')
6+
MOLINILLO_SOURCES = $(shell find lib/molinillo -name '*.cr')
7+
SOURCES = $(SHARDS_SOURCES) $(MOLINILLO_SOURCES)
68
TEMPLATES = src/templates/*.ecr
79

810
DESTDIR =

0 commit comments

Comments
 (0)