repostead

static page generator for VCS repositories

git clone https://www.shemshak.org/~amin/repostead


main/tree/Makefile (-rw-r--r--, 360 B, raw)

 1 .POSIX:
 2 
 3 CFLAGS = -g -Wall -Wextra -Werror -Wformat=2 -Wno-unused-parameter\
 4 	-fsanitize=address,undefined -pedantic
 5 
 6 LIBS = $$(pkg-config --cflags --libs libgit2)
 7 LOWDOWN = $$(pkg-config --exists lowdown && \
 8 	echo -DHAVE_LOWDOWN $$(pkg-config --cflags --libs lowdown))
 9 
10 repostead: repostead.c
11 	$(CC) $(CFLAGS) $(LDFLAGS) -o $@ repostead.c $(LIBS) $(LOWDOWN)