Makefile: organize variables and add debugging

Signed-off-by: Vincent Batts <vbatts@hashbangbash.com>
This commit is contained in:
Vincent Batts 2024-04-02 12:25:37 -04:00
parent 8b6e4ee411
commit 19c2560331
Signed by: vbatts
GPG key ID: E30EFAA812C6E5ED

View file

@ -1,8 +1,10 @@
CFLAGS ?= -Wall -g $(shell pkg-config --cflags gtk4)
LDFLAGS ?= $(shell pkg-config --libs gtk4)
CLEANFILES := CLEANFILES :=
main: main.c main: main.c
gcc $(shell pkg-config --cflags gtk4) -o $@ $< $(shell pkg-config --libs gtk4) gcc $(CFLAGS) -o $@ $< $(LDFLAGS)
CLEANFILES += main CLEANFILES += main