Code

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 b4355b9faf598ff23243954b6b1aaa5cc3a6e832..75891c393bb224684072014531fb1d4aecbe8ca4 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 f5e2fc8ceb675fab63ab91f20d518e074b57a187..02d290d3343999656c22d98d9c5cd8047760cfe3 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)