diff --git a/src/Makefile b/src/Makefile
index 44e798cc0ed4531ce610280355cab95078dbeb2a..948ea958e6b9d0a00c2edc24c055813cbea21c27 100644
--- a/src/Makefile
+++ b/src/Makefile
@@ -1,4 +1,5 @@
 SUBDIRS := $(wildcard */.)
+BUILDDIR=../build
 
 all: $(SUBDIRS)