From 484a00a817486eee8ccea5c94b40f6033ddb20e6 Mon Sep 17 00:00:00 2001 From: Nathan Letwory Date: Mon, 28 Apr 2008 22:19:03 +0000 Subject: * make makesdna dependant on DNA header files too, instead of relying on makesdna dependency only. Fix through pointer by jaguarandi. Thanks! --- source/blender/makesdna/intern/SConscript | 2 ++ 1 file changed, 2 insertions(+) (limited to 'source/blender/makesdna/intern') 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: -- cgit v1.2.3