CFLAGS := -Wall -Wextra -std=c17 -D_GNU_SOURCE LIBS := glib-2.0 CFLAGS += $(shell pkg-config --cflags $(LIBS)) LDLIBS := $(shell pkg-config --libs $(LIBS)) .PHONY: all all: main out/ .PHONY: clean clean: rm -f main out/* out/: mkdir -p $@ touch $@/.gitkeep