我在makefile中有以下命令:
$(OUT)/classes.jar: $(JavaFileList) $(libJars) $(ANDROID_JAR) | $(OutClasses)
@echo javac: `wc -l < $(JavaFileList)` source files
if [ $$ENABLE_MV = 'YES' ]; then \
echo Backup $(OutClasses) to $(OutClasses).bak; \
fi
但它每次都会打印以下命令:
if [ $$ENABLE_MV = 'YES' ]; then \
echo Backup $(OutClasses) to $(OutClasses).bak; \
fi
如何阻止这个?"@" 在 if..fi 中不起作用,会出现此错误:/bin/sh: line 1: @echo: command not found