diff options
author | Nathan Letwory <nathan@letworyinteractive.com> | 2008-04-29 02:19:03 +0400 |
---|---|---|
committer | Nathan Letwory <nathan@letworyinteractive.com> | 2008-04-29 02:19:03 +0400 |
commit | 484a00a817486eee8ccea5c94b40f6033ddb20e6 (patch) | |
tree | ebc67592ca595154e80fe299eec588d746afbe77 /source/blender/makesdna/intern/SConscript | |
parent | 723397bb91d00aeb625769084cef159ba7794048 (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/SConscript')
-rw-r--r-- | source/blender/makesdna/intern/SConscript | 2 |
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: |