NVIDIA_VERSION = 510.39.01 # 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