aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorFederico Angelilli <code@fedang.net>2023-11-12 12:38:56 +0100
committerFederico Angelilli <code@fedang.net>2023-11-12 12:38:56 +0100
commit965ce846f4d209866ea3a59a3589f6405fa5b91d (patch)
tree85582d0d34cd656bf8e63d2c8bc0d6cc4d4df887 /Makefile
parent3868d1918c76e963a077ca0a56ef7de7409beb05 (diff)
Add xcb event loop using glib's mainloop
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile14
1 files changed, 8 insertions, 6 deletions
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)