Allow overriding VERSION from environment

Use ?= instead of := when setting VERSION in the Makefile.
This lets pass VERSION without needing to modify the file during build.
This commit is contained in:
Matheus Polkorny
2025-04-09 21:23:10 -03:00
parent 90c1abc2fb
commit f98ee89047

View File

@@ -1,4 +1,4 @@
export VERSION := $(shell ./determineVersion.sh) export VERSION ?= $(shell ./determineVersion.sh)
#export PREFIX := /usr #export PREFIX := /usr
export PREFIX ?= /usr/local export PREFIX ?= /usr/local