CFLAGS ?= -Wall -g $(shell pkg-config --cflags gtk4) LDFLAGS ?= $(shell pkg-config --libs gtk4) CLEANFILES := main: main.c gcc $(CFLAGS) -o $@ $< $(LDFLAGS) CLEANFILES += main clean: rm -rf $(CLEANFILES)