Fix build when not building inside root directory
authorAndrew Waterman <waterman@cs.berkeley.edu>
Wed, 1 Jun 2016 20:54:46 +0000 (13:54 -0700)
committerAndrew Waterman <waterman@cs.berkeley.edu>
Wed, 1 Jun 2016 20:54:46 +0000 (13:54 -0700)
Makefile.in

index 2eb7bfd0443827ed903b902aa7c1034b66652109..d45931658224d82fed3310b239f4d5c58d72de43 100644 (file)
@@ -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))
 
 #-------------------------------------------------------------------------