From 7a4d062a799d9f6a1f65a8ce09a797d5842a8848 Mon Sep 17 00:00:00 2001 From: xiangfu Date: Tue, 28 Apr 2009 15:56:32 +0000 Subject: [PATCH] add clean backup file --- flash-tool/Makefile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/flash-tool/Makefile b/flash-tool/Makefile index 23a8311..4c771bc 100644 --- a/flash-tool/Makefile +++ b/flash-tool/Makefile @@ -34,8 +34,8 @@ CFLAGS += -pedantic -Wall -W -O1 -g3 -std=gnu99 LDFLAGS += -lusb -lconfuse BINARY_NAME = inflash -SRC_C= main.c usb.c -SRC_H= main.h usb.h usb_boot_defines.h +SRC_C= main.c usb.c cmd_boot.c +SRC_H= usb.h usb_boot_defines.h SRC_O= $(SRC_C:.c=.o) $(BINARY_NAME): $(SRC_O) $(SRC_H) Makefile @@ -46,5 +46,5 @@ $(BINARY_NAME): $(SRC_O) $(SRC_H) Makefile -include $(SRC_C:.c=.d) clean: - rm -f $(BINARY_NAME) *.o + rm -f $(BINARY_NAME) *.o *~ rm -f `find . -name '*.d' -print`