summaryrefslogtreecommitdiff
path: root/progs/glsl
diff options
context:
space:
mode:
authorDan Nicholson <dbn.lists@gmail.com>2007-09-28 18:42:21 -0600
committerBrian <brian.paul@tungstengraphics.com>2007-09-28 18:42:21 -0600
commit2a3e33865dd9a3d064a3c0af94ef11d4aa4a6ce4 (patch)
tree340934443ff1acfa3100001391a55e24744ad9bf /progs/glsl
parente776e7a95a4fc4fac95048665ab4c981e153b7fb (diff)
add support for LDFLAGS env var
Diffstat (limited to 'progs/glsl')
-rw-r--r--progs/glsl/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/progs/glsl/Makefile b/progs/glsl/Makefile
index a9800c5414..8b44239b43 100644
--- a/progs/glsl/Makefile
+++ b/progs/glsl/Makefile
@@ -28,7 +28,7 @@ PROGS = \
# make executable from .c file:
.c: $(LIB_DEP)
- $(CC) -I$(INCDIR) $(CFLAGS) $< $(APP_LIB_DEPS) -o $@
+ $(CC) -I$(INCDIR) $(CFLAGS) $(LDFLAGS) $< $(APP_LIB_DEPS) -o $@
##### TARGETS #####
@@ -64,7 +64,7 @@ points.c: extfuncs.h
toyball.c: extfuncs.h
texdemo1: texdemo1.o readtex.o
- $(CC) -I$(INCDIR) $(CFLAGS) texdemo1.o readtex.o $(APP_LIB_DEPS) -o $@
+ $(CC) -I$(INCDIR) $(CFLAGS) $(LDFLAGS) texdemo1.o readtex.o $(APP_LIB_DEPS) -o $@
texdemo1.o: texdemo1.c readtex.h extfuncs.h
$(CC) -c -I$(INCDIR) $(CFLAGS) texdemo1.c