summaryrefslogtreecommitdiffstats
path: root/progs/egl
diff options
context:
space:
mode:
authorRay Kohler <[email protected]>2010-02-20 22:26:43 -0500
committerChia-I Wu <[email protected]>2010-02-22 01:26:12 +0800
commit701ac58a0cfa0196c36d6481aa21c748bc03b844 (patch)
treeb4eab66c368b4c17908984b36afa830f5e407ce6 /progs/egl
parent3c244dac47195cce3fdcb05176e38d33b2cad8ed (diff)
Link egl progs to libm as necessary.
Signed-off-by: Ray Kohler <[email protected]>
Diffstat (limited to 'progs/egl')
-rw-r--r--progs/egl/Makefile8
1 files changed, 4 insertions, 4 deletions
diff --git a/progs/egl/Makefile b/progs/egl/Makefile
index 0ddb2cabb4f..c003cf3cc55 100644
--- a/progs/egl/Makefile
+++ b/progs/egl/Makefile
@@ -48,19 +48,19 @@ eglinfo: eglinfo.o $(HEADERS) $(LIB_DEP)
$(CC) $(CFLAGS) $(LDFLAGS) -o $@ $< $(LIBS)
eglgears: eglgears.o $(HEADERS) $(LIB_DEP)
- $(CC) $(CFLAGS) $(LDFLAGS) -o $@ $< $(LIBS) $(LIBDRM_LIB)
+ $(CC) $(CFLAGS) $(LDFLAGS) -o $@ $< $(LIBS) $(LIBDRM_LIB) -lm
eglscreen: eglscreen.o $(HEADERS) $(LIB_DEP)
$(CC) $(CFLAGS) $(LDFLAGS) -o $@ $< $(LIBS) $(LIBDRM_LIB)
peglgears: peglgears.o $(HEADERS) $(LIB_DEP)
- $(CC) $(CFLAGS) $(LDFLAGS) -o $@ $< $(LIBS) $(LIBDRM_LIB)
+ $(CC) $(CFLAGS) $(LDFLAGS) -o $@ $< $(LIBS) $(LIBDRM_LIB) -lm
xeglgears: xeglgears.o $(HEADERS) $(LIB_DEP)
- $(CC) $(CFLAGS) $(LDFLAGS) -o $@ $< $(LIBS) -lX11
+ $(CC) $(CFLAGS) $(LDFLAGS) -o $@ $< $(LIBS) -lX11 -lm
xeglthreads: xeglthreads.o $(HEADERS) $(LIB_DEP)
- $(CC) $(CFLAGS) $(LDFLAGS) -o $@ $< $(LIBS) -lX11
+ $(CC) $(CFLAGS) $(LDFLAGS) -o $@ $< $(LIBS) -lX11 -lm
xegl_tri: xegl_tri.o $(HEADERS) $(LIB_DEP)
$(CC) $(CFLAGS) $(LDFLAGS) -o $@ $< $(LIBS) -lX11