Revert "Makefile: don't always rebuild make.deps"
[model-checker.git] / Makefile
index f6a0837eea4e38f076da313859eeedff14eaf6d9..a0608b5dadd49e2376db260c165fd3b9cce71678 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -27,10 +27,7 @@ all: $(LIB_SO) $(DEPS) tests
 $(DEPS): $(program_C_SRCS) $(program_H_SRCS)
        $(CXX) -MM $(program_C_SRCS) $(CPPFLAGS) > $(DEPS)
 
-# Only include, rebuild make.deps when it's going to be used
-ifeq ($(MAKECMDGOALS),$(DEPS))
 include $(DEPS)
-endif
 
 debug: CPPFLAGS += -DCONFIG_DEBUG
 debug: all