mirror of
https://git.proxmox.com/git/libgit2
synced 2025-05-06 23:44:06 +00:00
22 lines
319 B
Makefile
22 lines
319 B
Makefile
default: all
|
|
|
|
CC = gcc
|
|
CFLAGS += -g
|
|
CFLAGS += -I../../include
|
|
LDFLAGS += -L../../build -L../..
|
|
LIBRARIES += -lgit2 -lpthread
|
|
|
|
OBJECTS = \
|
|
git2.o \
|
|
ls-remote.o \
|
|
fetch.o \
|
|
clone.o \
|
|
index-pack.o
|
|
|
|
all: $(OBJECTS)
|
|
$(CC) $(CFLAGS) $(LDFLAGS) -o git2 $(OBJECTS) $(LIBRARIES)
|
|
|
|
clean:
|
|
$(RM) $(OBJECTS)
|
|
$(RM) git2
|