From c4b08ff530461a98af1d32d0aeef00d88cc2e9af Mon Sep 17 00:00:00 2001 From: "Glenn Y. Rolland" Date: Sun, 15 Mar 2020 20:08:39 +0100 Subject: [PATCH] Fix makefile dependenciew towards sources --- Makefile | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 54ca45b..be254c7 100644 --- a/Makefile +++ b/Makefile @@ -1,4 +1,6 @@ +SOURCES=$(wildcard **/*.cr) + LDFLAGS= DESTDIR=/usr @@ -9,7 +11,7 @@ all: build $(BUILDDIR): mkdir -p $(BUILDDIR) -$(BUILDDIR)/pushokku: $(BUILDDIR) +$(BUILDDIR)/pushokku: $(BUILDDIR) $(SOURCES) crystal build $(LDFLAGS) src/pushokku.cr -o $(BUILDDIR)/pushokku build: $(BUILDDIR)/pushokku