diff options
author | Brian Paul <[email protected]> | 2009-04-01 19:53:40 -0600 |
---|---|---|
committer | Brian Paul <[email protected]> | 2009-04-01 19:54:35 -0600 |
commit | f8304bf1ed27dc87f52593a437785f2793344767 (patch) | |
tree | 768aa615734a2f39b87ce8a493fadfcb6236bf5b /progs/glsl/Makefile | |
parent | 49fb750a6884c3f647f46270ffce8652f664f908 (diff) |
demos: added progs/glsl/linktest.c to test linking of separate compilation units
Diffstat (limited to 'progs/glsl/Makefile')
-rw-r--r-- | progs/glsl/Makefile | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/progs/glsl/Makefile b/progs/glsl/Makefile index 80612770332..0f1a299570f 100644 --- a/progs/glsl/Makefile +++ b/progs/glsl/Makefile @@ -17,6 +17,7 @@ PROGS = \ deriv \ identity \ fragcoord \ + linktest \ mandelbrot \ multinoise \ multitex \ @@ -128,6 +129,12 @@ fragcoord: fragcoord.o shaderutil.o $(APP_CC) -I$(INCDIR) $(CFLAGS) $(LDFLAGS) fragcoord.o shaderutil.o $(LIBS) -o $@ +linktest.o: linktest.c extfuncs.h shaderutil.h + $(APP_CC) -c -I$(INCDIR) $(CFLAGS) linktest.c + +linktest: linktest.o shaderutil.o + $(APP_CC) -I$(INCDIR) $(CFLAGS) $(LDFLAGS) linktest.o shaderutil.o $(LIBS) -o $@ + mandelbrot.o: mandelbrot.c extfuncs.h shaderutil.h $(APP_CC) -c -I$(INCDIR) $(CFLAGS) mandelbrot.c |