do not use ocamlbuild -clean, do not print rm commands

Reviewed By: jberdine

Differential Revision: D2749088

fb-gh-sync-id: 2a24d5e
master
Jules Villard 9 years ago committed by facebook-github-bot-7
parent 84ed44fa55
commit a31d45b4f7

@ -32,7 +32,7 @@ $(PROCESSOR_JAR): $(PROCESSOR_SOURCES)
mv processor.jar $(PROCESSOR_JAR)
clean:
rm -rf $(ANNOT_CLASSES)
rm -f $(ANNOTATIONS_JAR)
rm -rf $(PROCESSOR_CLASSES)
rm -f $(PROCESSOR_JAR)
@rm -rf $(ANNOT_CLASSES)
@rm -f $(ANNOTATIONS_JAR)
@rm -rf $(PROCESSOR_CLASSES)
@rm -f $(PROCESSOR_JAR)

@ -27,7 +27,7 @@ $(CLANG_SUBDIRS) $(JAVA_MODELS_DIR):
$(MAKE) -C $@ install
clean:
rm -f $(SPECS_LIB_DIR)/*.specs
@rm -f $(SPECS_LIB_DIR)/*.specs
$(MAKE) -C $(JAVA_MODELS_DIR) clean
$(MAKE) -C $(C_MODELS_DIR) clean
$(MAKE) -C $(CPP_MODELS_DIR) clean

@ -26,7 +26,7 @@ install: $(C_MODELS_FILE)
@INSTALL@ -m 644 -C out/specs/*.specs $(SPECS_LIB_DIR)
clean:
rm -f $(C_MODELS_FILE)
@rm -f $(C_MODELS_FILE)
$(MAKE) -C src clean
.PHONY: all clean install

@ -6,7 +6,7 @@ CFLAGS=-c -w
all: $(OBJECTS) $(OBJECTSXX)
clean:
rm -rf $(OBJECTS)
@rm -rf $(OBJECTS)
.c.o:
$(CC) $(CFLAGS) $< -o $@

@ -26,7 +26,7 @@ install: $(CPP_MODELS_FILE)
@INSTALL@ -m 644 -C out/specs/*.specs $(SPECS_LIB_DIR)
clean:
rm -f $(CPP_MODELS_FILE)
@rm -f $(CPP_MODELS_FILE)
$(MAKE) -C src clean
.PHONY: all clean install

@ -6,7 +6,7 @@ CXXFLAGS=-c -w
all: $(OBJECTS)
clean:
rm -rf $(OBJECTS)
@rm -rf $(OBJECTS)
.c.o:
$(CXX) $(CXXFLAGS) $< -o $@

@ -27,12 +27,12 @@ JAVA_SOURCES = $(shell find src/ -name "*.java")
all: $(MODELS_JAR)
clean:
rm -fr $(MODELS_OUT)
rm -f $(DEPLOYED_MODELS_JAR)
@rm -fr $(MODELS_OUT)
@rm -f $(DEPLOYED_MODELS_JAR)
$(INFER_REPORT): $(ANDROID_JAR) $(JACKSON_JAR) $(JAVA_SOURCES) $(JAVA_DEPS)
mkdir -p $(MODELS_OUT)
rm -f $(DEPLOYED_MODELS_JAR)
@rm -f $(DEPLOYED_MODELS_JAR)
$(INFER) -- javac -bootclasspath $(ANDROID_JAR) -d $(MODELS_OUT) -classpath $(JACKSON_JAR) $(JAVA_SOURCES)
$(MODELS_JAR): $(INFER_REPORT)

@ -26,7 +26,7 @@ install: $(OBJC_MODELS_FILE)
@INSTALL@ -m 644 -C out/specs/*.specs $(SPECS_LIB_DIR)
clean:
rm -f $(OBJC_MODELS_FILE)
@rm -f $(OBJC_MODELS_FILE)
$(MAKE) -C src clean
.PHONY: all clean install

@ -9,7 +9,7 @@ CFLAGS=--target=x86_64-apple-darwin14 -x objective-c -c -mios-simulator-version-
all: $(OBJECTS)
clean:
rm -rf $(OBJECTS)
@rm -rf $(OBJECTS)
%.o: %.m
$(CC) $(CFLAGS) $< -o $@

@ -12,8 +12,8 @@ INFER_VERSION_MAJOR = 0
INFER_VERSION_MINOR = 4
INFER_VERSION_PATCH = 0
REMOVE = rm -vf
REMOVE_DIR = rm -rvf
REMOVE = @rm -vf
REMOVE_DIR = @rm -rvf
COPY = cp -f -p
COPY_DIR = cp -rf
MKDIR = mkdir -p
@ -248,8 +248,8 @@ $(TYPEPROP_BIN): $(BUILD_DIR)/$(TYPEPROP_MAIN).native
$(CHECKCOPYRIGHT_BIN): $(BUILD_DIR)/$(CHECKCOPYRIGHT_MAIN).native
$(COPY) $(BUILD_DIR)/$(CHECKCOPYRIGHT_MAIN).native $(CHECKCOPYRIGHT_BIN)
clean: $(BUILD_DIR)
$(OCAMLBUILD) -clean
clean:
$(REMOVE_DIR) $(BUILD_DIR)
$(REMOVE_DIR) $(ANNOT_DIR)
$(REMOVE) $(BACKEND_SOURCES)/version.ml
$(REMOVE) $(TYPEPROP_BIN) $(INFERANALYZE_BIN) $(INFERPRINT_BIN)

Loading…
Cancel
Save