From 4121378b42c9fced6e6b559325ff484ab50bb21a Mon Sep 17 00:00:00 2001 From: "E. S." Date: Sun, 28 Jul 2024 21:54:05 +0300 Subject: [PATCH] Makefile: make it compatible with BSD make --- Makefile | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/Makefile b/Makefile index 124162c..50e2ef7 100644 --- a/Makefile +++ b/Makefile @@ -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 \ No newline at end of file