summaryrefslogtreecommitdiffstats
path: root/progs/trivial/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'progs/trivial/Makefile')
-rw-r--r--progs/trivial/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/progs/trivial/Makefile b/progs/trivial/Makefile
index 6fa51ce2cfe..e72fb078890 100644
--- a/progs/trivial/Makefile
+++ b/progs/trivial/Makefile
@@ -115,13 +115,13 @@ getproclist.h: $(TOP)/src/mesa/glapi/gl_API.xml getprocaddress.c getprocaddress.
texrect: texrect.o readtex.o
- $(CC) $(LDFLAGS) texrect.o readtex.o $(LIBS) -o $@
+ $(CC) $(CFLAGS) $(LDFLAGS) texrect.o readtex.o $(LIBS) -o $@
texrect.o: texrect.c readtex.h
$(CC) -c $(INCLUDES) $(CFLAGS) $(DEFINES) $< -o $@
invert: invert.o readtex.o
- $(CC) $(LDFLAGS) invert.o readtex.o $(LIBS) -o $@
+ $(CC) $(CFLAGS) $(LDFLAGS) invert.o readtex.o $(LIBS) -o $@
invert.o: invert.c readtex.h
$(CC) -c $(INCLUDES) $(CFLAGS) $(DEFINES) $< -o $@