diff options
author | Jason Perkins <starkos@industriousone.com> | 2012-09-07 02:41:38 +0400 |
---|---|---|
committer | Jason Perkins <starkos@industriousone.com> | 2012-09-07 02:41:38 +0400 |
commit | b872c9f9b03028386384224aed4c21e18f862d51 (patch) | |
tree | 197544b0705c7153e141f97b11583898d701da06 | |
parent | 52c2b274c6bfdc90635fa227674d7049540f692f (diff) |
Add include for PCH dependencies to makefile
-rw-r--r-- | src/actions/make/make_cpp.lua | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/actions/make/make_cpp.lua b/src/actions/make/make_cpp.lua index fe48cc9..4130683 100644 --- a/src/actions/make/make_cpp.lua +++ b/src/actions/make/make_cpp.lua @@ -125,6 +125,9 @@ -- include the dependencies, built by GCC (with the -MMD flag) _p('-include $(OBJECTS:%%.o=%%.d)') + _p('ifneq (,$(PCH))') + _p(' -include $(OBJDIR)/$(notdir $(PCH)).d') + _p('endif') end |