1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22
.POSIX: BIN := ./bin SRC := ./src OUT := ./out TMP := ./tmp BASE_URL = https://rgoncalves.se .PHONY: all \ website \ clean all: clean website website: clean BASE_URL=$(BASE_URL) $(BIN)/ssg local: clean BASE_URL=$$PWD/$(OUT) $(BIN)/ssg clean: - rm -r $(OUT) $(TMP)/*