From cc296fc0dc7ec2abf0e7e7d531fae6e94fe8adcc Mon Sep 17 00:00:00 2001 From: Mark Hillebrand Date: Thu, 9 Jun 2016 17:53:06 +0200 Subject: [PATCH] Makefile: rename MAKEFILES -> BUILD_CONFIGURATION MAKEFILES is special and automatically inherited in sub makes. --- Makefile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Makefile b/Makefile index 4516da18f96b..cf037d140973 100644 --- a/Makefile +++ b/Makefile @@ -672,15 +672,15 @@ DEP := $(patsubst %.o, %.d, $(OBJ)) # will result in the rebuild. -include ${DEP} -MAKEFILES := Makefile $(BUILD_TOP)/Config.make -$(OBJDIR)/%.o : %.cu $(MAKEFILES) +BUILD_CONFIGURATION := Makefile $(BUILD_TOP)/Config.make +$(OBJDIR)/%.o : %.cu $(BUILD_CONFIGURATION) @echo $(SEPARATOR) @echo creating $@ for $(ARCH) with build type $(BUILDTYPE) @mkdir -p $(dir $@) $(NVCC) -c $< -o $@ $(COMMON_FLAGS) $(CUFLAGS) $(INCLUDEPATH:%=-I%) -Xcompiler "-fPIC -Werror" -$(OBJDIR)/%.o : %.cpp $(MAKEFILES) +$(OBJDIR)/%.o : %.cpp $(BUILD_CONFIGURATION) @echo $(SEPARATOR) @echo creating $@ for $(ARCH) with build type $(BUILDTYPE) @mkdir -p $(dir $@)