mirror of
https://git.proxmox.com/git/libgit2
synced 2025-06-18 18:19:34 +00:00
Add rev-list example to makefiles
This commit is contained in:
parent
1aa21fe3b8
commit
ec7e240ba4
@ -388,4 +388,7 @@ IF (BUILD_EXAMPLES)
|
||||
|
||||
ADD_EXECUTABLE(git-showindex examples/showindex.c)
|
||||
TARGET_LINK_LIBRARIES(git-showindex git2)
|
||||
|
||||
ADD_EXECUTABLE(git-rev-list examples/rev-list.c)
|
||||
TARGET_LINK_LIBRARIES(git-rev-list git2)
|
||||
ENDIF ()
|
||||
|
@ -3,7 +3,7 @@
|
||||
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
|
||||
APPS = general showindex diff rev-list
|
||||
|
||||
all: $(APPS)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user