From 145996dee872ca24e6ec7a702af32ce41e616f8b Mon Sep 17 00:00:00 2001 From: Sebastian Hugentobler Date: Tue, 29 Apr 2014 15:42:40 +0200 Subject: [PATCH] make sure the build directory exists before building --- Makefile | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 1542265..57fee6c 100644 --- a/Makefile +++ b/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 .