demos: add missing dependencies for util files
authorBrian Paul <brianp@vmware.com>
Mon, 1 Jun 2009 17:23:39 +0000 (11:23 -0600)
committerBrian Paul <brianp@vmware.com>
Mon, 1 Jun 2009 17:23:39 +0000 (11:23 -0600)
progs/glsl/Makefile

index 71db895d1d94aed2085871376a29dacde1d759f7..f97cdb69429f289166652a295fb6f21027ec59f9 100644 (file)
@@ -80,25 +80,26 @@ clean:
        -rm -f *.o *~
        -rm -f extfuncs.h
        -rm -f shaderutil.*
+       -rm -f readtex.*
 
 
 
 ##### Extra dependencies
 
-extfuncs.h:
-       cp $(TOP)/progs/util/extfuncs.h .
+extfuncs.h: $(TOP)/progs/util/extfuncs.h
+       cp $< .
 
-readtex.c:
-       cp $(TOP)/progs/util/readtex.c .
+readtex.c: $(TOP)/progs/util/readtex.c
+       cp $< .
 
-readtex.h:
-       cp $(TOP)/progs/util/readtex.h .
+readtex.h: $(TOP)/progs/util/readtex.h
+       cp $< .
 
-shaderutil.c:
-       cp $(TOP)/progs/util/shaderutil.c .
+shaderutil.c: $(TOP)/progs/util/shaderutil.c
+       cp $< .
 
-shaderutil.h:
-       cp $(TOP)/progs/util/shaderutil.h .
+shaderutil.h: $(TOP)/progs/util/shaderutil.h
+       cp $< .