projects
/
gltest.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Use glFinish instead of glFlush
[gltest.git]
/
Makefile
diff --git
a/Makefile
b/Makefile
index 3fc8800eda5dd07ec805289ab3c49360521a2016..c07c0fc69e65c63a5b44dce415322a878c30bdc0 100644
(file)
--- a/
Makefile
+++ b/
Makefile
@@
-3,13
+3,16
@@
FLAGS := -Wall
COMMON_SRC = gltest.cpp glwindow.cpp
COMMON_HDR = glwindow.h
COMMON_SRC = gltest.cpp glwindow.cpp
COMMON_HDR = glwindow.h
-all: glxtest egltest
+all: glxtest egltest
eglinfo
glxtest: $(COMMON_SRC) $(COMMON_HDR) glxbackend.cpp glxbackend.h
glxtest: $(COMMON_SRC) $(COMMON_HDR) glxbackend.cpp glxbackend.h
- g++ $(FLAGS) -DUSE_GLX $(COMMON_SRC) glxbackend.cpp -lGL -lX11 -o glxtest
+ g++ $(FLAGS) -DUSE_GLX $(COMMON_SRC) glxbackend.cpp -lGL -lX11 -
lboost_program_options -
o glxtest
egltest: $(COMMON_SRC) $(COMMON_HDR) eglbackend.cpp eglbackend.h
egltest: $(COMMON_SRC) $(COMMON_HDR) eglbackend.cpp eglbackend.h
- g++ $(FLAGS) -DUSE_EGL $(COMMON_SRC) eglbackend.cpp -lEGL -lGL -lX11 -o egltest
+ g++ $(FLAGS) -DUSE_EGL $(COMMON_SRC) eglbackend.cpp -lEGL -lGL -lX11 -lboost_program_options -o egltest
+
+eglinfo: eglinfo.c
+ gcc $(FLAGS) eglinfo.c -lEGL -lGL -lX11 -o eglinfo
clean:
clean:
- rm -f glxtest egltest
+ rm -f glxtest egltest
eglinfo