From 7a1ee072c08de2e954dd61dd28bcb9a4ea3bae76 Mon Sep 17 00:00:00 2001 From: sjorsdonkers <72333389+sjorsdonkers@users.noreply.github.com> Date: Thu, 17 Apr 2025 15:57:48 +0200 Subject: [PATCH] Add v8 steps to make's install and build commands --- Makefile | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Makefile b/Makefile index 309bbb423..665e80448 100644 --- a/Makefile +++ b/Makefile @@ -60,13 +60,13 @@ download-zig: @printf "\e[33mDownloaded $(dest)\e[0m\n" ## Build in release-safe mode -build: +build: build-v8 @printf "\e[36mBuilding (release safe)...\e[0m\n" $(ZIG) build -Doptimize=ReleaseSafe -Dgit_commit=$$(git rev-parse --short HEAD) || (printf "\e[33mBuild ERROR\e[0m\n"; exit 1;) @printf "\e[33mBuild OK\e[0m\n" ## Build in debug mode -build-dev: +build-dev: build-v8-dev @printf "\e[36mBuilding (debug)...\e[0m\n" @$(ZIG) build -Dgit_commit=$$(git rev-parse --short HEAD) || (printf "\e[33mBuild ERROR\e[0m\n"; exit 1;) @printf "\e[33mBuild OK\e[0m\n" @@ -116,10 +116,10 @@ build-v8: .PHONY: install-dev install ## Install and build dependencies for release -install: install-submodule install-libiconv install-netsurf install-mimalloc +install: install-submodule install-libiconv install-netsurf install-mimalloc get-v8 ## Install and build dependencies for dev -install-dev: install-submodule install-libiconv install-netsurf-dev install-mimalloc-dev +install-dev: install-submodule install-libiconv install-netsurf-dev install-mimalloc-dev get-v8 install-netsurf-dev: _install-netsurf install-netsurf-dev: OPTCFLAGS := -O0 -g -DNDEBUG