aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorPeter Maydell <pmaydell@chiark.greenend.org.uk>2017-02-18 21:54:14 +0000
committerPeter Maydell <peter.maydell@linaro.org>2017-02-20 11:56:36 +0000
commitedb14df264ff17c3835785d08f5a3395dec1e42b (patch)
tree70aff9f4bca85d4ef3b2d5e9d6d4ddbabc2e233c /Makefile
parentbe4fd2bf447d2c064abc21da02b3db83e9cb46af (diff)
Support building into a build directory
Add support for building outside the source tree, by running configure from the build directory: mkdir build cd build ../configure make Signed-off-by: Peter Maydell <pmaydell@chiark.greenend.org.uk>
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile2
1 files changed, 2 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index bfa8cac..9012a8c 100644
--- a/Makefile
+++ b/Makefile
@@ -13,6 +13,8 @@
# import the variables generated by configure
include Makefile.in
+VPATH=$(SRCDIR)
+
CFLAGS ?= -g -Wall
PROG=risu