add clean and ignore rules for xdiff/
authorJunio C Hamano <junkio@cox.net>
Mon, 27 Mar 2006 07:41:22 +0000 (23:41 -0800)
committerJunio C Hamano <junkio@cox.net>
Mon, 27 Mar 2006 07:41:22 +0000 (23:41 -0800)
Signed-off-by: Junio C Hamano <junkio@cox.net>
.gitignore
Makefile

index b4355b9..75891c3 100644 (file)
@@ -128,8 +128,7 @@ common-cmds.h
 *.deb
 git-core.spec
 *.exe
-libgit.a
-*.o
+*.[ao]
 *.py[co]
 config.mak
 git-blame
index f5e2fc8..02d290d 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -629,7 +629,8 @@ rpm: dist
 ### Cleaning rules
 
 clean:
-       rm -f *.o mozilla-sha1/*.o arm/*.o ppc/*.o compat/*.o $(LIB_FILE)
+       rm -f *.o mozilla-sha1/*.o arm/*.o ppc/*.o compat/*.o xdiff/*.o \
+               $(LIB_FILE) $(XDIFF_LIB)
        rm -f $(ALL_PROGRAMS) git$X
        rm -f *.spec *.pyc *.pyo */*.pyc */*.pyo common-cmds.h TAGS tags
        rm -rf $(GIT_TARNAME)