X-Git-Url: https://git.ralfj.de/gltest.git/blobdiff_plain/ce1b46da645fdcac80fc9c71082bb5cb40166576..b0ce9e768aed86e894dcffae75e69a80c51e7b5d:/Makefile?ds=inline diff --git a/Makefile b/Makefile index c69fff7..a6df6dc 100644 --- a/Makefile +++ b/Makefile @@ -1,6 +1,6 @@ -CFLAGS := -Wall -g -O1 +CFLAGS := -Wall -Wextra -g -O1 -COMMON_SRC = gltest.cpp glwindow.cpp +COMMON_SRC = gltest.cpp glwindow.cpp glutil.cpp COMMON_HDR = glwindow.h glutil.h COMMON_LD = -lX11 -lboost_program_options @@ -28,6 +28,9 @@ egl2test: $(COMMON_SRC) $(COMMON_HDR) glutil_gl2.cpp eglbackend.cpp eglbackend.h glx3test: $(COMMON_SRC) $(COMMON_HDR) glutil_gl2.cpp glxbackend.cpp glxbackend.h g++ $(CFLAGS) -DWIN_GLX -DCON_GL3 $^ -lGL $(COMMON_LD) -o $@ +egl3test: $(COMMON_SRC) $(COMMON_HDR) glutil_gl2.cpp eglbackend.cpp eglbackend.h + g++ $(CFLAGS) -DWIN_EGL -DCON_GL3 $^ -lEGL -lGL $(COMMON_LD) -o $@ + gles2test: $(COMMON_SRC) $(COMMON_HDR) glutil_gl2.cpp eglbackend.cpp eglbackend.h g++ $(CFLAGS) -DWIN_EGL -DCON_GLES2 $^ -lEGL -lGLESv2 $(COMMON_LD) -o $@