From 627a219bea8029107fcee77fbeea7eb79f0a79b2 Mon Sep 17 00:00:00 2001 From: frosty Date: Fri, 3 Apr 2026 15:26:01 -0400 Subject: feat: made version on homepage link to repo --- Makefile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index ecd6585..e57c991 100644 --- a/Makefile +++ b/Makefile @@ -6,10 +6,11 @@ PKG_DEPS := libxml-2.0 libcurl openssl GIT_HASH := $(shell git rev-parse --short HEAD) GIT_DATE := $(shell git log -1 --format='%ad' --date='format:%y.%m.%d') GIT_BRANCH := $(shell git rev-parse --abbrev-ref HEAD) +GIT_REMOTE := $(shell git remote get-url origin) VERSION := $(GIT_DATE)+$(GIT_HASH)_$(GIT_BRANCH) -CFLAGS := -Wall -Wextra -O2 -Isrc -DVERSION='"$(VERSION)"' +CFLAGS := -Wall -Wextra -O2 -Isrc -DVERSION='"$(VERSION)"' -DGIT_REMOTE='"$(GIT_REMOTE)"' ifeq ($(UNAME_S),Darwin) DEP_CFLAGS := $(shell $(PKG_CONFIG) --cflags $(PKG_DEPS) 2>/dev/null) -- cgit v1.2.3