From: Andrew Waterman Date: Wed, 1 Jun 2016 20:54:46 +0000 (-0700) Subject: Fix build when not building inside root directory X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=2fe8a17abf9a3329f5314af89bce99385e5a16f6;p=riscv-isa-sim.git Fix build when not building inside root directory --- diff --git a/Makefile.in b/Makefile.in index 2eb7bfd..d459316 100644 --- a/Makefile.in +++ b/Makefile.in @@ -71,7 +71,7 @@ install_exes_dir := $(INSTALLDIR)/bin sprojs := @subprojects@ sprojs_enabled := @subprojects_enabled@ -sprojs_include := -I. $(addprefix -I$(src_dir)/, $(sprojs_enabled)) +sprojs_include := -I. -I$(src_dir) $(addprefix -I$(src_dir)/, $(sprojs_enabled)) VPATH := $(addprefix $(src_dir)/, $(sprojs_enabled)) #-------------------------------------------------------------------------