Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNathan Letwory <nathan@letworyinteractive.com>2008-04-29 02:19:03 +0400
committerNathan Letwory <nathan@letworyinteractive.com>2008-04-29 02:19:03 +0400
commit484a00a817486eee8ccea5c94b40f6033ddb20e6 (patch)
treeebc67592ca595154e80fe299eec588d746afbe77 /source/blender/makesdna/intern
parent723397bb91d00aeb625769084cef159ba7794048 (diff)
* make makesdna dependant on DNA header files too, instead of relying on makesdna dependency only.
Fix through pointer by jaguarandi. Thanks!
Diffstat (limited to 'source/blender/makesdna/intern')
-rw-r--r--source/blender/makesdna/intern/SConscript2
1 files changed, 2 insertions, 0 deletions
diff --git a/source/blender/makesdna/intern/SConscript b/source/blender/makesdna/intern/SConscript
index 574e289d3a9..512e6817666 100644
--- a/source/blender/makesdna/intern/SConscript
+++ b/source/blender/makesdna/intern/SConscript
@@ -8,6 +8,7 @@ defines = []
root_build_dir=env['BF_BUILDDIR']
source_files = ['makesdna.c']
+header_files = env.Glob('../*.h')
makesdna_tool = env.Copy()
dna = env.Copy()
@@ -36,6 +37,7 @@ else:
dna_dict = dna.Dictionary()
dna.Depends ('dna.c', makesdna)
+dna.Depends ('dna.c', header_files)
if env['OURPLATFORM'] != 'linuxcross':
dna.Command ('dna.c', '', root_build_dir+os.sep+"makesdna $TARGET")
else: