If the files we want to delete do not exist (for example after a failed
build), the make clean fails.
Signed-off-by: Simon Marchi <simon.marchi@polymtl.ca>
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
all: LTTngUst.class org_lttng_ust_LTTngUst.h liblttng-ust-java.jar
clean-local:
all: LTTngUst.class org_lttng_ust_LTTngUst.h liblttng-ust-java.jar
clean-local:
- rm org_lttng_ust_LTTngUst.h
- rm liblttng-ust-java.jar
+ rm -f org_lttng_ust_LTTngUst.h
+ rm -f liblttng-ust-java.jar
rm -rf org/
LTTngUst.c: org_lttng_ust_LTTngUst.h
rm -rf org/
LTTngUst.c: org_lttng_ust_LTTngUst.h