From 0451fa34f6c88eb7e53bdc3762e37ff1f0c0927a Mon Sep 17 00:00:00 2001 From: Michael Drake Date: Sun, 22 Jan 2023 12:50:12 +0000 Subject: Buildsystem: Define component name and version --- Makefile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 082f044..0a33555 100644 --- a/Makefile +++ b/Makefile @@ -27,7 +27,8 @@ ifneq ($(BUILD),i586-pc-haiku) WARNFLAGS := $(WARNFLAGS) -Werror endif -CFLAGS := \ +CFLAGS := -DNSGIF_NAME=$(COMPONENT) \ + -DNSGIF_VERSION=$(COMPONENT_VERSION) \ -I$(CURDIR)/include/ -I$(CURDIR)/src \ $(WARNFLAGS) $(CFLAGS) ifneq ($(GCCVER),2) -- cgit v1.2.3