make sure the build directory exists before building
This commit is contained in:
parent
7bedbe7918
commit
145996dee8
1 changed files with 4 additions and 1 deletions
5
Makefile
5
Makefile
|
@ -10,7 +10,10 @@ BUILDDIR := build
|
|||
.PHONY : all
|
||||
all : run
|
||||
|
||||
love :
|
||||
$(BUILDDIR):
|
||||
mkdir -p $(BUILDDIR)
|
||||
|
||||
love : $(BUILDDIR)
|
||||
cd $(SRCDIR)/ && \
|
||||
$(ZIP) -9 -r ../$(BUILDDIR)/$(NAME)_$(VERSION).love .
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue