summaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
authorBen Straub <bs@github.com>2012-12-16 10:50:10 -0800
committerBen Straub <bs@github.com>2012-12-16 10:50:10 -0800
commitcc3e9b5af46ab090944c1a67900564479069c686 (patch)
tree0439f34558ea2a8376fdc6efcb5623b4076f23a7 /examples
parenta7f125cdba0fe00c7df39e124e104fd030718350 (diff)
downloadlibgit2-cc3e9b5af46ab090944c1a67900564479069c686.tar.gz
Make building samples more friendly
Diffstat (limited to 'examples')
-rw-r--r--examples/.gitignore2
-rw-r--r--examples/network/Makefile4
2 files changed, 6 insertions, 0 deletions
diff --git a/examples/.gitignore b/examples/.gitignore
index 4c34e4ab5..e40bfc29f 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 ef3cec659..60969bd87 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