Commit a7335c5170f4a963c8d67782fa35222d03d8a16b

Andreas Ericsson 2010-04-14T19:40:10

Add generic buildrule for assembly files Signed-off-by: Andreas Ericsson <ae@op5.se>

1
2
3
4
5
6
7
8
9
10
11
12
13
14
diff --git a/Makefile b/Makefile
index 7b08db5..73630ef 100644
--- a/Makefile
+++ b/Makefile
@@ -141,6 +141,9 @@ uninstall:
 .c.o:
 	$(CC) $(ALL_CFLAGS) -c $< $(CC_OUT)$@
 
+.S.o:
+	$(CC) $(ALL_CFLAGS) -c $< $(CC_OUT)$@
+
 $(OBJS): $(HDRS)
 $(GIT_LIB): $(OBJS)
 	rm -f $(GIT_LIB)