mirror of
https://git.proxmox.com/git/libgit2
synced 2025-12-28 20:48:32 +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
|