kisscommunity

kisscommunity.bvnf.space site sources
Log | Files | Refs | Submodules | README

commit 6331c0bf4e3ac2afda4e1706262f4c851333c798
parent 865e0761a7d3d115d301428154875d7a6e1a976b
Author: aabacchus <ben@bvnf.space>
Date:   Sun, 15 May 2022 20:08:58 +0100

Makefile: build smu locally, set PATH so that smu is found

Diffstat:
MMakefile | 9+++++++--
1 file changed, 7 insertions(+), 2 deletions(-)

diff --git a/Makefile b/Makefile @@ -1,13 +1,18 @@ +.POSIX: + CFLAGS = -Wall -Wextra -std=c99 -pedantic LDFLAGS = -static -s all: html -html: build-page - find wiki -type d -exec sh -ec './build-page "$$0" >$$0/index.html' {} \; +html: build-page smu/smu + find wiki -type d -exec sh -ec 'PATH="$$PWD/smu:$$PATH" ./build-page "$$0" >$$0/index.html' {} \; build-page: build-page.c $(CC) $(CFLAGS) $(LDFLAGS) -o $@ build-page.c +smu/smu: + cd smu; $(MAKE) + clean: rm -f build-page