make sure the build directory exists before building
This commit is contained in:
parent
7bedbe7918
commit
145996dee8
5
Makefile
5
Makefile
@ -10,7 +10,10 @@ BUILDDIR := build
|
|||||||
.PHONY : all
|
.PHONY : all
|
||||||
all : run
|
all : run
|
||||||
|
|
||||||
love :
|
$(BUILDDIR):
|
||||||
|
mkdir -p $(BUILDDIR)
|
||||||
|
|
||||||
|
love : $(BUILDDIR)
|
||||||
cd $(SRCDIR)/ && \
|
cd $(SRCDIR)/ && \
|
||||||
$(ZIP) -9 -r ../$(BUILDDIR)/$(NAME)_$(VERSION).love .
|
$(ZIP) -9 -r ../$(BUILDDIR)/$(NAME)_$(VERSION).love .
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user