make sure the build directory exists before building

This commit is contained in:
Sebastian Hugentobler 2014-04-29 15:42:40 +02:00
parent 7bedbe7918
commit 145996dee8

View File

@ -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 .