mirror of
https://git.proxmox.com/git/libgit2
synced 2025-08-03 08:57:10 +00:00
16 lines
295 B
Makefile
16 lines
295 B
Makefile
.PHONY: all
|
|
|
|
CFLAGS = -g -I../include
|
|
LFLAGS = -Ldirectory-containing-libgit
|
|
|
|
all: general showindex
|
|
|
|
general : general.c
|
|
gcc -o general $(CFLAGS) general.c $(LFLAGS) -lgit2 -lz
|
|
|
|
showindex : showindex.c
|
|
gcc -o showindex $(CFLAGS) showindex.c $(LFLAGS) -lgit2 -lz
|
|
|
|
clean:
|
|
rm general showindex
|