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