25 lines
670 B
Makefile
25 lines
670 B
Makefile
.PHONY: all fast clean help
|
|
|
|
# Default target: full build with search index
|
|
all:
|
|
@echo "Building project (full rebuild with search index)..."
|
|
emacs -Q --script build.el
|
|
|
|
# Fast build without search index
|
|
fast:
|
|
@echo "Building project (fast rebuild without search index)..."
|
|
emacs -Q --script build.el --fast
|
|
|
|
# Clean output directory
|
|
clean:
|
|
@echo "Cleaning output directory..."
|
|
rm -rf output/
|
|
|
|
# Show help message
|
|
help:
|
|
@echo "Available targets:"
|
|
@echo " make - Full rebuild (with search index)"
|
|
@echo " make fast - Fast rebuild (without search index)"
|
|
@echo " make clean - Remove output directory"
|
|
@echo " make help - Show this help message"
|