about summary refs log tree commit diff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile7
1 files changed, 2 insertions, 5 deletions
diff --git a/Makefile b/Makefile
index 473649f..3b58a17 100644
--- a/Makefile
+++ b/Makefile
@@ -34,9 +34,6 @@ MODULES_GTK4 = \
 	gi/graphene \
 	gi/gsk
 
-LIBS_3 != pkg-config --libs-only-l gtk+-3.0
-LIBS_4 != pkg-config --libs-only-l gtk4
-
 HARE_GI_SRC != find cmd/hare-gi/ -name '*.ha'
 GIR_SRC != find gir/ -name '*.ha'
 FORMAT_FASTXML_SRC != find format/fastxml/ -name '*.ha'
@@ -79,10 +76,10 @@ uninstall-gtk4:
 	@./scripts/uninstall-modules "$(DESTDIR)$(THIRDPARTYDIR)" $(MODULES_GTK4)
 
 demo-gtk3: .gen
-	hare build $(LIBS_3) -o demo-gtk3 cmd/demo-gtk3
+	hare build $(shell pkg-config --libs-only-l gtk+-3.0) -o demo-gtk3 cmd/demo-gtk3
 
 demo-gtk4: .gen
-	hare build $(LIBS_4) -o demo-gtk4 cmd/demo-gtk4
+	hare build $(shell pkg-config --libs-only-l gtk4) -o demo-gtk4 cmd/demo-gtk4
 
 clean:
 	rm -f hare-gi xmltree demo-gtk3 demo-gtk4 gi/*/_generate.ha