Makefile: make it compatible with BSD make

This commit is contained in:
E. S. 2024-07-28 21:54:05 +03:00
parent e97634b7bf
commit 4121378b42

View File

@ -1,9 +1,11 @@
.PHONY: all deploy static build-js build-css static-config
all:
@echo "Supported commands:"
@echo
@echo " \033[1mmake deploy\033[0m - deploy to production"
@echo " \033[1mmake static\033[0m - build static locally"
@echo
@printf "Supported commands:\n"
@printf "\n"
@printf " \033[1mmake deploy\033[0m - deploy to production\n"
@printf " \033[1mmake static\033[0m - build static locally\n"
@printf "\n"
deploy:
./deploy/deploy.sh
@ -18,5 +20,3 @@ build-css:
static-config:
./deploy/gen_static_config.php -i ./htdocs > ./config-static.php
.PHONY: all deploy static