summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.gitignore2
-rw-r--r--Makefile2
2 files changed, 3 insertions, 1 deletions
diff --git a/.gitignore b/.gitignore
index 27e5aeb8a0..bd49cd4627 100644
--- a/.gitignore
+++ b/.gitignore
@@ -159,7 +159,7 @@ common-cmds.h
*.deb
git-core.spec
*.exe
-*.[ao]
+*.[aos]
*.py[co]
config.mak
autom4te.cache
diff --git a/Makefile b/Makefile
index 0f7595552d..30a4052922 100644
--- a/Makefile
+++ b/Makefile
@@ -845,6 +845,8 @@ git$X git.spec \
%.o: %.c GIT-CFLAGS
$(QUIET_CC)$(CC) -o $*.o -c $(ALL_CFLAGS) $<
+%.s: %.c GIT-CFLAGS
+ $(QUIET_CC)$(CC) -S $(ALL_CFLAGS) $<
%.o: %.S
$(QUIET_CC)$(CC) -o $*.o -c $(ALL_CFLAGS) $<