summaryrefslogtreecommitdiff
path: root/examples/network/Makefile
blob: 835be24ccd62f3a5b326c537b8c21cecd01a6881 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
default: all

CC = gcc
CFLAGS += -g
CFLAGS += -I../../include -L../../build -L../.. -lgit2 -lpthread

OBJECTS = \
  git2.o \
  ls-remote.o \
  fetch.o \
  clone.o \
  index-pack.o

all: $(OBJECTS)
	$(CC) $(CFLAGS) -o git2 $(OBJECTS)