summaryrefslogtreecommitdiff
path: root/examples/Makefile
diff options
context:
space:
mode:
authorRussell Belfer <arrbee@arrbee.com>2012-02-07 12:14:28 -0800
committerRussell Belfer <arrbee@arrbee.com>2012-03-02 15:49:29 -0800
commita2e895be820a2fd77285ef4576afe53f68c96ca2 (patch)
treea086aaaad07d11d17bec91f3660b22a96250df65 /examples/Makefile
parent5a2f097fdc1408500cff9addf378f86046363665 (diff)
downloadlibgit2-a2e895be820a2fd77285ef4576afe53f68c96ca2.tar.gz
Continue implementation of git-diff
* Implemented git_diff_index_to_tree * Reworked git_diff_options structure to handle more options * Made most of the options in git_diff_options actually work * Reorganized code a bit to remove some redundancy * Added option parsing to examples/diff.c to test most options
Diffstat (limited to 'examples/Makefile')
-rw-r--r--examples/Makefile5
1 files changed, 3 insertions, 2 deletions
diff --git a/examples/Makefile b/examples/Makefile
index 156a5ba6..fe99c75c 100644
--- a/examples/Makefile
+++ b/examples/Makefile
@@ -3,12 +3,13 @@
CC = gcc
CFLAGS = -g -I../include -I../src
LFLAGS = -L../build -lgit2 -lz
+APPS = general showindex diff
-all: general showindex diff
+all: $(APPS)
% : %.c
$(CC) -o $@ $(CFLAGS) $< $(LFLAGS)
clean:
- $(RM) general showindex diff
+ $(RM) $(APPS)
$(RM) -r *.dSYM