From: Nick Bowler Date: Fri, 31 Jan 2020 19:56:21 +0000 (-0500) Subject: Fix VPATH builds from clean checkout. X-Git-Url: http://git.draconx.ca/gitweb/upkg.git/commitdiff_plain/c5663c4e00361d7b054233fbdb5eb1cd2be53c1f Fix VPATH builds from clean checkout. When doing a VPATH build from a fully clean checkout, the GOB outputs end up in the build directory. When this happens, #include "pcx.h" won't find the header because this header is in srcdir. The solution is to make sure we always #include relative to the top src/ directory, which is already explicitly added to the compiler search path. --- diff --git a/src/engine/texture.gob b/src/engine/texture.gob index 981c898..630013e 100644 --- a/src/engine/texture.gob +++ b/src/engine/texture.gob @@ -25,8 +25,8 @@ #include #include #include -#include "pack.h" -#include "pcx.h" +#include +#include %} %h{