diff --git a/Makefile b/Makefile index 2698019..66aafb8 100644 --- a/Makefile +++ b/Makefile @@ -1,8 +1,10 @@ +CFLAGS ?= -Wall -g $(shell pkg-config --cflags gtk4) +LDFLAGS ?= $(shell pkg-config --libs gtk4) CLEANFILES := main: main.c - gcc $(shell pkg-config --cflags gtk4) -o $@ $< $(shell pkg-config --libs gtk4) + gcc $(CFLAGS) -o $@ $< $(LDFLAGS) CLEANFILES += main