learning-GTK/Makefile

12 lines
161 B
Makefile
Raw Normal View History

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