mirror of
				https://git.proxmox.com/git/libgit2
				synced 2025-11-04 06:52:38 +00:00 
			
		
		
		
	Reverted signature of git_signature_new. Removed error check wrappers (voted down). Made Makefile work out of the box on Linux and Solaris when standard cmake build instructions for the library are followed.
		
			
				
	
	
		
			14 lines
		
	
	
		
			180 B
		
	
	
	
		
			Makefile
		
	
	
	
	
	
			
		
		
	
	
			14 lines
		
	
	
		
			180 B
		
	
	
	
		
			Makefile
		
	
	
	
	
	
.PHONY: all
 | 
						|
 | 
						|
CC = gcc
 | 
						|
CFLAGS = -g -I../include
 | 
						|
LFLAGS = -L../build -lgit2 -lz
 | 
						|
 | 
						|
all: general showindex
 | 
						|
 | 
						|
% : %.c
 | 
						|
	$(CC) -o $@ $(CFLAGS) $< $(LFLAGS)
 | 
						|
 | 
						|
clean:
 | 
						|
	$(RM) general showindex
 |