diff options
author | Russell Belfer <arrbee@arrbee.com> | 2012-02-04 04:53:01 +0400 |
---|---|---|
committer | Russell Belfer <arrbee@arrbee.com> | 2012-03-03 03:49:28 +0400 |
commit | 3a4375901a92efdc641c714ec9fd07b53f2f781e (patch) | |
tree | a0aed2d5e7ee9a6c2af317ae44e1f8bdce0a1446 /examples/Makefile | |
parent | 65b09b1deddec64fa5639e9fea10c048d31901fa (diff) |
Clean up diff implementation for review
This fixes several bugs, updates tests and docs, eliminates the
FILE* assumption in favor of printing callbacks for the diff patch
formatter helpers, and adds a "diff" example function that can
perform a diff from the command line.
Diffstat (limited to 'examples/Makefile')
-rw-r--r-- | examples/Makefile | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/examples/Makefile b/examples/Makefile index efb55547b..156a5ba6d 100644 --- a/examples/Makefile +++ b/examples/Makefile @@ -1,13 +1,14 @@ .PHONY: all CC = gcc -CFLAGS = -g -I../include +CFLAGS = -g -I../include -I../src LFLAGS = -L../build -lgit2 -lz -all: general showindex +all: general showindex diff % : %.c $(CC) -o $@ $(CFLAGS) $< $(LFLAGS) clean: - $(RM) general showindex + $(RM) general showindex diff + $(RM) -r *.dSYM |