[Makefile] Beautify output of targets clean
@@ -231,6 +231,11 @@ SUBDIR_GARBAGE := $(foreach DIR,$(DIRS),$(addprefix $(DIR)/,$(CLEAN_PATTERNS)))
MAC_GARGBAGE := $(wildcard mac/mach_exc*)
ANDROID_GARBAGE := obj libs
+CLEAN_TARGETS := core Makefile.bak \
+ $(OBJS) $(BIN) $(HFUZZ_CC_BINS) \
+ $(LHFUZZ_ARCH) $(LHFUZZ_OBJS) $(LCOMMON_ARCH) $(LCOMMON_OBJS) \
+ $(MAC_GARGBAGE) $(ANDROID_GARBAGE) $(SUBDIR_GARBAGE)
+
all: $(BIN) $(HFUZZ_CC_BINS) $(LHFUZZ_ARCH) $(LCOMMON_ARCH)
%.o: %.c
@@ -262,10 +267,7 @@ $(LCOMMON_ARCH): $(LCOMMON_OBJS)
.PHONY: clean
clean:
- $(RM) -r core Makefile.bak \
- $(OBJS) $(BIN) $(HFUZZ_CC_BINS) \
- $(LHFUZZ_ARCH) $(LHFUZZ_OBJS) $(LCOMMON_ARCH) $(LCOMMON_OBJS) \
- $(MAC_GARGBAGE) $(ANDROID_GARBAGE) $(SUBDIR_GARBAGE)
+ $(RM) -r $(CLEAN_TARGETS)
.PHONY: indent
indent:
