summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPatrick Steinhardt <ps@pks.im>2017-10-20 15:05:26 +0200
committerPatrick Steinhardt <ps@pks.im>2017-10-20 15:05:26 +0200
commit9b12eb6f78b8f285055567873ad844d119d920b3 (patch)
tree508d53f8e2775a87f02725f8ad3104f3f4d896f9
parent8ac8c78c35905f7f9cc37f240c3d633a7cc5a5e3 (diff)
downloadlibgit2-9b12eb6f78b8f285055567873ad844d119d920b3.tar.gz
examples: remove Makefile
Back in the days when libgit2 was still young, libgit2 was using plain Makefiles as build infrastructure. We later changed that to instead use the CMake build system to make cross-platform development easier. In the process, we forgot to remove the Makefile from our examples directory, which is fixed by this commit here. Furthermore, remove the accompanying .gitignore file, which ignores build outputs. As we do out-of-tree builds only nowadays, no output is generated in that directory anymore.
-rw-r--r--examples/.gitignore15
-rw-r--r--examples/Makefile17
2 files changed, 0 insertions, 32 deletions
diff --git a/examples/.gitignore b/examples/.gitignore
deleted file mode 100644
index 0e491598a..000000000
--- a/examples/.gitignore
+++ /dev/null
@@ -1,15 +0,0 @@
-general
-showindex
-diff
-rev-list
-blame
-cat-file
-init
-log
-rev-parse
-remote
-status
-tag
-for-each-ref
-describe
-*.dSYM
diff --git a/examples/Makefile b/examples/Makefile
deleted file mode 100644
index bd7e92dc9..000000000
--- a/examples/Makefile
+++ /dev/null
@@ -1,17 +0,0 @@
-.PHONY: all
-
-CC = gcc
-CFLAGS = -g -I../include -I../src -Wall -Wextra -Wmissing-prototypes -Wno-missing-field-initializers
-LFLAGS = -L../build -lgit2 -lz
-APPS = general showindex diff rev-list cat-file status log rev-parse init blame tag remote
-APPS += for-each-ref
-APPS += describe
-
-all: $(APPS)
-
-% : %.c
- $(CC) -o $@ common.c $(CFLAGS) $< $(LFLAGS)
-
-clean:
- $(RM) $(APPS)
- $(RM) -r *.dSYM