mirror of
https://github.com/libgit2/libgit2.git
synced 2026-06-22 06:26:26 +00:00
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.
15 lines
216 B
Makefile
15 lines
216 B
Makefile
.PHONY: all
|
|
|
|
CC = gcc
|
|
CFLAGS = -g -I../include -I../src
|
|
LFLAGS = -L../build -lgit2 -lz
|
|
|
|
all: general showindex diff
|
|
|
|
% : %.c
|
|
$(CC) -o $@ $(CFLAGS) $< $(LFLAGS)
|
|
|
|
clean:
|
|
$(RM) general showindex diff
|
|
$(RM) -r *.dSYM
|