X-Git-Url: https://git.ralfj.de/gltest.git/blobdiff_plain/aa4575e1aa768daff8ca10c7a8a06aa0603e998f..d997a33e329838b9ef31dde671479c112941d58c:/Makefile?ds=inline diff --git a/Makefile b/Makefile index 3fc8800..3074580 100644 --- a/Makefile +++ b/Makefile @@ -3,7 +3,7 @@ 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 @@ -11,5 +11,8 @@ glxtest: $(COMMON_SRC) $(COMMON_HDR) glxbackend.cpp glxbackend.h egltest: $(COMMON_SRC) $(COMMON_HDR) eglbackend.cpp eglbackend.h g++ $(FLAGS) -DUSE_EGL $(COMMON_SRC) eglbackend.cpp -lEGL -lGL -lX11 -o egltest +eglinfo: eglinfo.c + gcc $(FLAGS) eglinfo.c -lEGL -lGL -lX11 -o eglinfo + clean: - rm -f glxtest egltest + rm -f glxtest egltest eglinfo