summaryrefslogtreecommitdiff
path: root/progs/egl/Makefile
diff options
context:
space:
mode:
authorDave Airlie <airliedfreedesktop.org>2005-08-21 03:17:52 +0000
committerDave Airlie <airliedfreedesktop.org>2005-08-21 03:17:52 +0000
commit298af7a609038d81ade4067c3574bf7322748065 (patch)
tree49fbe63db3ebbfe43fc3e06144b3a82eab2abc3c /progs/egl/Makefile
parentae27ef22195b7126daddd448ca4a255c5293198c (diff)
fix up libdrm for egl
Diffstat (limited to 'progs/egl/Makefile')
-rw-r--r--progs/egl/Makefile10
1 files changed, 5 insertions, 5 deletions
diff --git a/progs/egl/Makefile b/progs/egl/Makefile
index 39741db7d3..41cadf97d2 100644
--- a/progs/egl/Makefile
+++ b/progs/egl/Makefile
@@ -25,35 +25,35 @@ default: $(PROGRAMS)
demo1: demo1.o $(LIB_DIR)/libEGL.so
- $(CC) $(CFLAGS) demo1.o -L$(LIB_DIR) -lEGL -o $@
+ $(CC) $(CFLAGS) demo1.o -L$(LIB_DIR) -lEGL $(LIBDRM_LIB) -o $@
demo1.o: demo1.c $(HEADERS)
$(CC) -c $(CFLAGS) -I$(TOP)/include demo1.c
demo2: demo2.o $(LIB_DIR)/libEGL.so
- $(CC) $(CFLAGS) demo2.o -L$(LIB_DIR) -lEGL $(APP_LIB_DEPS) -o $@
+ $(CC) $(CFLAGS) demo2.o -L$(LIB_DIR) -lEGL $(LIBDRM_LIB) $(APP_LIB_DEPS) -o $@
demo2.o: demo2.c $(HEADERS)
$(CC) -c $(CFLAGS) -I$(TOP)/include demo2.c
demo3: demo3.o $(LIB_DIR)/libEGL.so
- $(CC) $(CFLAGS) demo3.o -L$(LIB_DIR) -lEGL $(APP_LIB_DEPS) -o $@
+ $(CC) $(CFLAGS) demo3.o -L$(LIB_DIR) -lEGL $(LIBDRM_LIB) $(APP_LIB_DEPS) -o $@
demo3.o: demo3.c $(HEADERS)
$(CC) -c $(CFLAGS) -I$(TOP)/include demo3.c
eglinfo: eglinfo.o $(LIB_DIR)/libEGL.so
- $(CC) $(CFLAGS) eglinfo.o -L$(LIB_DIR) -lEGL -o $@
+ $(CC) $(CFLAGS) eglinfo.o -L$(LIB_DIR) -lEGL $(LIBDRM_LIB) -o $@
eglinfo.o: eglinfo.c $(HEADERS)
$(CC) -c $(CFLAGS) -I$(TOP)/include eglinfo.c
eglgears: eglgears.o $(LIB_DIR)/libEGL.so
- $(CC) $(CFLAGS) eglgears.o -L$(LIB_DIR) -lEGL $(APP_LIB_DEPS) -o $@
+ $(CC) $(CFLAGS) eglgears.o -L$(LIB_DIR) -lEGL $(LIBDRM_LIB) $(APP_LIB_DEPS) -o $@
eglgears.o: eglgears.c $(HEADERS)
$(CC) -c $(CFLAGS) -I$(TOP)/include eglgears.c