summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--glsl.jam4
1 files changed, 3 insertions, 1 deletions
diff --git a/glsl.jam b/glsl.jam
index eeeb340..20ef180 100644
--- a/glsl.jam
+++ b/glsl.jam
@@ -37,6 +37,8 @@ actions glsl.embed
rule glsl.embed ( targets * : sources * : properties * )
{
- DEPENDS $(targets) : lib/embed-glsl.h.m4 lib/embed-glsl.cpp.m4 ;
+ NOUPDATE $(targets[2]) ;
+ DEPENDS $(targets[2]) : lib/embed-glsl.h.m4 ;
+ DEPENDS $(targets[1]) $(targets[3]) : lib/embed-glsl.cpp.m4 ;
OPTIONS on $(targets) = [ type.type $(sources) ] ;
}