pt/Makefile

16 lines
373 B
Makefile
Raw Normal View History

2024-10-20 07:07:47 +03:00
all: prod
dev:
v -o pt src/
prod:
2024-10-20 08:26:57 +03:00
v -prod -cc gcc -cflags '-static -s' -o pt src/ \
2024-10-20 22:14:22 +03:00
-d pt_version=$$(git describe --tags) \
2024-10-20 07:07:47 +03:00
-d pt_piddir=pt \
-d pt_max_recursion_depth=10 \
-d pt_default_config_file=~/.ptrc
2024-10-20 22:09:07 +03:00
install:
install -Dm0755 pt $$HOME/.local/bin/pt
install -Dm0644 completion.bash $${XDG_DATA_HOME:-$$HOME/.local/share}/bash-completion/completions/pt