Commit cc3e9b5af46ab090944c1a67900564479069c686

Ben Straub 2012-12-16T10:50:10

Make building samples more friendly

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
diff --git a/examples/.gitignore b/examples/.gitignore
index 4c34e4a..e40bfc2 100644
--- a/examples/.gitignore
+++ b/examples/.gitignore
@@ -1,2 +1,4 @@
 general
 showindex
+diff
+*.dSYM
diff --git a/examples/network/Makefile b/examples/network/Makefile
index ef3cec6..60969bd 100644
--- a/examples/network/Makefile
+++ b/examples/network/Makefile
@@ -14,3 +14,7 @@ OBJECTS = \
 
 all: $(OBJECTS)
 	$(CC) $(CFLAGS) $(LDFLAGS) -o git2 $(OBJECTS)
+
+clean:
+	$(RM) $(OBJECTS)
+	$(RM) git2