From 965ce846f4d209866ea3a59a3589f6405fa5b91d Mon Sep 17 00:00:00 2001 From: Federico Angelilli Date: Sun, 12 Nov 2023 12:38:56 +0100 Subject: Add xcb event loop using glib's mainloop --- Makefile | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index 0494403..2e62337 100644 --- a/Makefile +++ b/Makefile @@ -3,12 +3,14 @@ OBJ = $(SRC:.c=.o) BIN = comet.bin DEPS = cairo \ - xcb \ - xcb-icccm \ - xcb-xrm \ - xcb-randr \ - glib-2.0 -CFLAGS := $(shell pkg-config --cflags $(DEPS)) + xcb \ + xcb-icccm \ + xcb-xrm \ + "xcb-randr >= 1.5" \ + "glib-2.0 >= 2.44" \ + gio-2.0 + +CFLAGS := $(shell pkg-config --cflags $(DEPS)) -ggdb LDFLAGS := $(shell pkg-config --libs $(DEPS)) -lm all: $(BIN) -- cgit v1.2.3