diff options
-rw-r--r-- | Makefile | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/Makefile b/Makefile index c29553b..00e2a54 100644 --- a/Makefile +++ b/Makefile @@ -35,6 +35,9 @@ MODULES_GTK4 = $(MODULES_CORE) $(MODULES_GTK_SHARED) \ gi/graphene \ gi/gsk +LIBS_3 != pkg-config --libs-only-l gtk+-3.0 +LIBS_4 != pkg-config --libs-only-l gtk4 + hare-gi: hare build -o $@ cmd/hare-gi/ .PHONY: hare-gi @@ -81,11 +84,11 @@ HAREPATH_ENV_CMD = hare version -vv | grep '^HAREPATH' demo3: eval "$$($(HAREPATH_ENV_CMD))" && env HAREPATH="$(BINDINGS_DIR):$$HAREPATH" \ - hare build $$(pkg-config --libs-only-l gtk+-3.0) -o demo3 cmd/demo3 + hare build $(LIBS_3) -o demo3 cmd/demo3 demo4: eval "$$($(HAREPATH_ENV_CMD))" && env HAREPATH="$(BINDINGS_DIR):$$HAREPATH" \ - hare build $$(pkg-config --libs-only-l gtk4) -o demo4 cmd/demo4 + hare build $(LIBS_4) -o demo4 cmd/demo4 clean: rm -f hare-gi xmltree demo3 demo4 bindings/gi/*/_generate.ha |