mirror of
https://git.proxmox.com/git/libgit2
synced 2025-05-05 05:42:07 +00:00
16 lines
292 B
Makefile
16 lines
292 B
Makefile
.PHONY: all
|
|
|
|
CC = gcc
|
|
CFLAGS = -g -I../include -I../src -Wall -Wextra -Wmissing-prototypes -Wno-missing-field-initializers
|
|
LFLAGS = -L../build -lgit2 -lz
|
|
APPS = general showindex diff rev-list
|
|
|
|
all: $(APPS)
|
|
|
|
% : %.c
|
|
$(CC) -o $@ $(CFLAGS) $< $(LFLAGS)
|
|
|
|
clean:
|
|
$(RM) $(APPS)
|
|
$(RM) -r *.dSYM
|