]> git.draconx.ca Git - upkg.git/commit
Fix VPATH builds from clean checkout.
authorNick Bowler <nbowler@draconx.ca>
Fri, 31 Jan 2020 19:56:21 +0000 (14:56 -0500)
committerNick Bowler <nbowler@draconx.ca>
Fri, 31 Jan 2020 19:56:21 +0000 (14:56 -0500)
commitc5663c4e00361d7b054233fbdb5eb1cd2be53c1f
treef246ece89dce4787c94f04adc70c44997c5288a1
parent67b795eeb9c9515adb9450562a3e7e15eb63a21d
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.
src/engine/texture.gob