makefile: create ../bin is required
authorJean Privat <jean@pryen.org>
Fri, 12 Jun 2015 10:33:27 +0000 (06:33 -0400)
committerJean Privat <jean@pryen.org>
Fri, 12 Jun 2015 10:33:27 +0000 (06:33 -0400)
because the dir is now empty, it starts uncreated on the initial git clone

Signed-off-by: Jean Privat <jean@pryen.org>

src/Makefile

index e00c83d..eec154e 100644 (file)
@@ -34,6 +34,7 @@ $(BINS): nitc_0 parser/parser.nit
        @echo '* Compile binaries from NIT source files                      *'
        @echo '***************************************************************'
        ./git-gen-version.sh
+       test -d ../bin || mkdir ../bin
        ./nitc_0 ${NITCOPT} -v --dir ../bin $(SRCS)
        rm -r .nit_compile || true # to clean old .nit_compile generated file