diff --git a/progs/egl/Makefile b/progs/egl/Makefile index fe490c2..de9987a 100644 --- a/progs/egl/Makefile +++ b/progs/egl/Makefile @@ -33,37 +33,37 @@ PROGRAMS = \ default: $(PROGRAMS) demo1: demo1.o $(HEADERS) $(LIB_DEP) - $(CC) $(CFLAGS) $(LDFLAGS) -o $@ $< $(LIBS) $(LIBDRM_LIB) + $(CC) $(CFLAGS) -o $@ $< $(LIBS) $(LIBDRM_LIB) $(LDFLAGS) demo2: demo2.o $(HEADERS) $(LIB_DEP) - $(CC) $(CFLAGS) $(LDFLAGS) -o $@ $< $(LIBS) $(LIBDRM_LIB) + $(CC) $(CFLAGS) -o $@ $< $(LIBS) $(LIBDRM_LIB) $(LDFLAGS) demo3: demo3.o $(HEADERS) $(LIB_DEP) - $(CC) $(CFLAGS) $(LDFLAGS) -o $@ $< $(LIBS) $(LIBDRM_LIB) + $(CC) $(CFLAGS) -o $@ $< $(LIBS) $(LIBDRM_LIB) $(LDFLAGS) egltri: egltri.o $(HEADERS) $(LIB_DEP) - $(CC) $(CFLAGS) $(LDFLAGS) -o $@ $< $(LIBS) $(LIBDRM_LIB) + $(CC) $(CFLAGS) -o $@ $< $(LIBS) $(LIBDRM_LIB) $(LDFLAGS) eglinfo: eglinfo.o $(HEADERS) $(LIB_DEP) - $(CC) $(CFLAGS) $(LDFLAGS) -o $@ $< $(LIBS) + $(CC) $(CFLAGS) -o $@ $< $(LIBS) $(LDFLAGS) eglgears: eglgears.o $(HEADERS) $(LIB_DEP) - $(CC) $(CFLAGS) $(LDFLAGS) -o $@ $< $(LIBS) $(LIBDRM_LIB) -lm + $(CC) $(CFLAGS) -o $@ $< $(LIBS) $(LIBDRM_LIB) -lm $(LDFLAGS) eglscreen: eglscreen.o $(HEADERS) $(LIB_DEP) - $(CC) $(CFLAGS) $(LDFLAGS) -o $@ $< $(LIBS) $(LIBDRM_LIB) + $(CC) $(CFLAGS) -o $@ $< $(LIBS) $(LIBDRM_LIB) $(LDFLAGS) peglgears: peglgears.o $(HEADERS) $(LIB_DEP) - $(CC) $(CFLAGS) $(LDFLAGS) -o $@ $< $(LIBS) $(LIBDRM_LIB) -lm + $(CC) $(CFLAGS) -o $@ $< $(LIBS) $(LIBDRM_LIB) -lm $(LDFLAGS) xeglgears: xeglgears.o $(HEADERS) $(LIB_DEP) - $(CC) $(CFLAGS) $(LDFLAGS) -o $@ $< $(LIBS) -lm $(X11_LIBS) + $(CC) $(CFLAGS) -o $@ $< $(LIBS) -lm $(X11_LIBS) $(LDFLAGS) xeglthreads: xeglthreads.o $(HEADERS) $(LIB_DEP) - $(CC) $(CFLAGS) $(LDFLAGS) -o $@ $< $(LIBS) -lm $(X11_LIBS) + $(CC) $(CFLAGS) -o $@ $< $(LIBS) -lm $(X11_LIBS) $(LDFLAGS) xegl_tri: xegl_tri.o $(HEADERS) $(LIB_DEP) - $(CC) $(CFLAGS) $(LDFLAGS) -o $@ $< $(LIBS) -lm $(X11_LIBS) + $(CC) $(CFLAGS) -o $@ $< $(LIBS) -lm $(X11_LIBS) $(LDFLAGS) clean: -rm -f *.o *~