codeview

A light and fast web based git repository viewer

Log | Files | Refs | README | LICENSE

commit 6a4c4ae7e2f7eb55b51a06921bf7f2d5c5c41e19
parent aa03c6f161767a09a88e441bbe6b0e030f3a7f53
Author: Abdul Rahim <abdul.rahim@myyahoo.com>
Date:   Mon, 30 Sep 2024 23:55:31 +0530

checkpoint makefile

Diffstat:
MMakefile | 39++++++++++++++++++++++-----------------
1 file changed, 22 insertions(+), 17 deletions(-)

diff --git a/Makefile b/Makefile @@ -3,12 +3,11 @@ NAME = stagit VERSION = 1.2 -# paths PREFIX = /usr/local MANPREFIX = ${PREFIX}/man DOCPREFIX = ${PREFIX}/share/doc/${NAME} -LIBGIT_INC = -I/usr/local/include -I$(PWD)/include +LIBGIT_INC = -I/usr/local/include LIBGIT_LIB = -L/usr/local/lib -lgit2 # use system flags. @@ -21,27 +20,33 @@ STAGIT_CPPFLAGS = -D_XOPEN_SOURCE=700 -D_DEFAULT_SOURCE -D_BSD_SOURCE #STAGIT_CFLAGS += -DGIT_OPT_SET_OWNER_VALIDATION=-1 SRC = \ - stagit.c\ - stagit-index.c +stagit.c\ +stagit-index.c\ + COMPATSRC = \ - reallocarray.c\ - strlcat.c\ - strlcpy.c +reallocarray.c\ +strlcat.c\ +strlcpy.c + BIN = \ - stagit\ - stagit-index +stagit\ +stagit-index + MAN1 = \ - stagit.1\ - stagit-index.1 +stagit.1\ +stagit-index.1 + DOC = \ - LICENSE\ - README -HDR = compat.h +LICENSE\ +README + +HDR = \ +compat.h\ COMPATOBJ = \ - reallocarray.o\ - strlcat.o\ - strlcpy.o +reallocarray.o\ +strlcat.o\ +strlcpy.o\ OBJ = ${SRC:.c=.o} ${COMPATOBJ}