libgit2/examples/Makefile
David Boyce 784b3b494f Fixed typo in example Makefile code and slimmed it down more.
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.
2011-09-15 23:15:38 -04:00

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