all: direct_context_using_glXCreateWindow indirect_context_using_glXCreateWindow direct_context_without_glXCreateWindow indirect_context_without_glXCreateWindow .PHONY: all direct_context_using_glXCreateWindow: glXCreateWindow_testcases.c $(CC) -DUSE_GLX_CREATE_WINDOW -DUSE_DIRECT_CONTEXT=True -std=c99 -g3 -o direct_context_using_glXCreateWindow glXCreateWindow_testcases.c -lX11 -lXrender -lGL -lm indirect_context_using_glXCreateWindow: glXCreateWindow_testcases.c $(CC) -DUSE_GLX_CREATE_WINDOW -DUSE_DIRECT_CONTEXT=False -std=c99 -g3 -o indirect_context_using_glXCreateWindow glXCreateWindow_testcases.c -lX11 -lXrender -lGL -lm direct_context_without_glXCreateWindow: glXCreateWindow_testcases.c $(CC) -DUSE_DIRECT_CONTEXT=True -std=c99 -g3 -o direct_context_without_glXCreateWindow glXCreateWindow_testcases.c -lX11 -lXrender -lGL -lm indirect_context_without_glXCreateWindow: glXCreateWindow_testcases.c $(CC) -DUSE_DIRECT_CONTEXT=False -std=c99 -g3 -o indirect_context_without_glXCreateWindow glXCreateWindow_testcases.c -lX11 -lXrender -lGL -lm