libgit2/examples/network/Makefile
Carlos Martín Nieto 371599576a indexer: don't use '/objects/pack/' unconditionally
Not everyone who indexes a packfile wants to put it in the standard
git repository location.
2012-06-28 10:24:03 +02:00

15 lines
221 B
Makefile

default: all
CC = gcc
CFLAGS += -g
CFLAGS += -I../../include -L../../build -L../.. -lgit2 -lpthread
OBJECTS = \
git2.o \
ls-remote.o \
fetch.o \
index-pack.o
all: $(OBJECTS)
$(CC) $(CFLAGS) -o git2 $(OBJECTS)