summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorKeith Packard <keithp@keithp.com>2017-10-10 22:20:18 -0700
committerKeith Packard <keithp@keithp.com>2017-10-10 22:20:18 -0700
commitdeee5ef476550fcb1ae8e67942340641ff6c9aee (patch)
tree70ff3167526f0f300d08c170c8969ce1e935bfef /Makefile
parent4b08fecc5c68478f857c5505309a964736c67df7 (diff)
Just use the last output found
Signed-off-by: Keith Packard <keithp@keithp.com>
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index 697bb3b..b1e15c9 100644
--- a/Makefile
+++ b/Makefile
@@ -7,7 +7,7 @@ INCS=\
gettime.h\
linmath.h
-LIBS=-L/local/xorg/lib -lvulkan -lxcb-randr -lxcb -lm -ldrm
+LIBS=-L/local/lib -lvulkan -L/local/xorg/lib -lX11 -lX11-xcb -lxcb-randr -lxcb -lm -ldrm
TARGET=cube
@@ -15,7 +15,7 @@ GLSV=glslangValidator
SPV=cube-vert.spv cube-frag.spv
-CFLAGS=-O0 -g -DVK_USE_PLATFORM_DISPLAY_KHR -I/local/xorg/include -I/local/xorg/include/libdrm
+CFLAGS=-O0 -g -DVK_USE_PLATFORM_DISPLAY_KHR -DVK_USE_PLATFORM_XLIB_XRANDR_EXT -I/local/xorg/include -I/local/xorg/include/libdrm
all: $(TARGET) $(SPV)