X-Git-Url: http://plrg.eecs.uci.edu/git/?p=model-checker.git;a=blobdiff_plain;f=Makefile;h=2bd61ce26c0c13b7f87798b671869fea9fc49a6d;hp=91acd7e8738d5a626ac90e058494ad24066bdfba;hb=870ba814eceb1afee4eefb17dab3980549ca73e2;hpb=1d5bf75a20115d8c73b44825f09aab705afce301 diff --git a/Makefile b/Makefile index 91acd7e..2bd61ce 100644 --- a/Makefile +++ b/Makefile @@ -27,7 +27,10 @@ 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