From 3a4375901a92efdc641c714ec9fd07b53f2f781e Mon Sep 17 00:00:00 2001 From: Russell Belfer Date: Fri, 3 Feb 2012 16:53:01 -0800 Subject: 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. --- examples/Makefile | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'examples/Makefile') 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 -- cgit v1.2.1