mirror of
				https://git.proxmox.com/git/libgit2
				synced 2025-11-04 02:57:28 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			23 lines
		
	
	
		
			332 B
		
	
	
	
		
			Makefile
		
	
	
	
	
	
			
		
		
	
	
			23 lines
		
	
	
		
			332 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 \
 | 
						|
  common.o
 | 
						|
 | 
						|
all: $(OBJECTS)
 | 
						|
	$(CC) $(CFLAGS) $(LDFLAGS) -o git2 $(OBJECTS) $(LIBRARIES)
 | 
						|
 | 
						|
clean:
 | 
						|
	$(RM) $(OBJECTS)
 | 
						|
	$(RM) git2
 |