X-Git-Url: https://git.ralfj.de/gltest.git/blobdiff_plain/aa4575e1aa768daff8ca10c7a8a06aa0603e998f..ccff40bad3c15ac250062e8924cc51e4b142c9e5:/Makefile?ds=sidebyside 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