summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Drake <tlsa@netsurf-browser.org>2023-01-22 12:50:12 +0000
committerMichael Drake <mdrake.unique@gmail.com>2023-01-22 12:52:59 +0000
commit0451fa34f6c88eb7e53bdc3762e37ff1f0c0927a (patch)
treeb265abd516ccf984c14d81c549bfd34b1a5a38ff
parent29d64c885b190043ec3fdde26874ec8cb9992a32 (diff)
downloadlibnsgif-0451fa34f6c88eb7e53bdc3762e37ff1f0c0927a.tar.gz
libnsgif-0451fa34f6c88eb7e53bdc3762e37ff1f0c0927a.tar.bz2
Buildsystem: Define component name and version
-rw-r--r--Makefile3
1 files changed, 2 insertions, 1 deletions
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)