mirror of
				https://git.proxmox.com/git/libgit2
				synced 2025-11-04 03:16:59 +00:00 
			
		
		
		
	This improves docs in some of the public header files, cleans up and improves some of the example code, and fixes a couple of pedantic warnings in places.
		
			
				
	
	
		
			16 lines
		
	
	
		
			251 B
		
	
	
	
		
			Makefile
		
	
	
	
	
	
			
		
		
	
	
			16 lines
		
	
	
		
			251 B
		
	
	
	
		
			Makefile
		
	
	
	
	
	
.PHONY: all
 | 
						|
 | 
						|
CC = gcc
 | 
						|
CFLAGS = -g -I../include -I../src -Wall -Wextra -Wmissing-prototypes
 | 
						|
LFLAGS = -L../build -lgit2 -lz
 | 
						|
APPS = general showindex diff
 | 
						|
 | 
						|
all: $(APPS)
 | 
						|
 | 
						|
% : %.c
 | 
						|
	$(CC) -o $@ $(CFLAGS) $< $(LFLAGS)
 | 
						|
 | 
						|
clean:
 | 
						|
	$(RM) $(APPS)
 | 
						|
	$(RM) -r *.dSYM
 |