diff --git a/infer/tests/build_systems/buck_javac_jar/Makefile b/infer/tests/build_systems/buck_javac_jar/Makefile index 1824d6e06..5e8b9e4a7 100644 --- a/infer/tests/build_systems/buck_javac_jar/Makefile +++ b/infer/tests/build_systems/buck_javac_jar/Makefile @@ -20,7 +20,7 @@ include $(TESTS_DIR)/infer.make $(OBJECTS): $(SOURCES) $(BUCKCONFIG) $(BUCK) build --config tools.javac_jar= $(TARGET) -infer-out/report.json: $(SOURCES) $(BUCKCONFIG) +infer-out/report.json: $(JAVA_DEPS) $(SOURCES) $(BUCKCONFIG) $(REMOVE_DIR) buck-out && \ $(call silent_on_success,Testing Buck Java integration with javac_jar,\ INFER_BIN=$(INFER_BIN) \