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: fe99c75cb87b2047982bfa58a2fba98640df2d32 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
.PHONY: all

CC = gcc
CFLAGS = -g -I../include -I../src
LFLAGS = -L../build -lgit2 -lz
APPS = general showindex diff

all: $(APPS)

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

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