X-Git-Url: https://git.ralfj.de/gltest.git/blobdiff_plain/aa4575e1aa768daff8ca10c7a8a06aa0603e998f..14716b59eedd024453c5d904a619d63a0f0fed85:/Makefile?ds=inline diff --git a/Makefile b/Makefile index 3fc8800..c07c0fc 100644 --- a/Makefile +++ b/Makefile @@ -3,13 +3,16 @@ FLAGS := -Wall 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 - 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 - 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: - rm -f glxtest egltest + rm -f glxtest egltest eglinfo