Welcome to mirror list, hosted at ThFree Co, Russian Federation.

Makefile « examples - github.com/mono/libgit2.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: bd7e92dc97bf07ffe66f3da90a501058280c88e0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
.PHONY: all

CC = gcc
CFLAGS = -g -I../include -I../src -Wall -Wextra -Wmissing-prototypes -Wno-missing-field-initializers
LFLAGS = -L../build -lgit2 -lz
APPS = general showindex diff rev-list cat-file status log rev-parse init blame tag remote
APPS += for-each-ref
APPS += describe

all: $(APPS)

% : %.c
	$(CC) -o $@ common.c $(CFLAGS) $< $(LFLAGS)

clean:
	$(RM) $(APPS)
	$(RM) -r *.dSYM