Fix makefile dependenciew towards sources
This commit is contained in:
parent
3fd02d3761
commit
c4b08ff530
1 changed files with 3 additions and 1 deletions
4
Makefile
4
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
|
||||
|
|
Loading…
Reference in a new issue