summaryrefslogtreecommitdiff
path: root/src/version.mk
blob: 8e23d3086d87b70a57426ca897ebf963efd532ad (plain)
1
2
3
4
5
6
7
8
9
NVIDIA_VERSION = 495.46

# This file.
VERSION_MK_FILE := $(lastword $(MAKEFILE_LIST))
$(OUTPUTDIR)/version.h: $(VERSION_MK_FILE)
	@$(MKDIR) $(OUTPUTDIR)
	@$(ECHO) '#define NVIDIA_VERSION "$(NVIDIA_VERSION)"' > $@

NV_GENERATED_HEADERS += $(OUTPUTDIR)/version.h