From de3d97db1ef9a585f4843faf655c6c8588d9f47d Mon Sep 17 00:00:00 2001 From: Dmitriy Ryajov Date: Mon, 13 Mar 2023 17:56:03 -0600 Subject: [PATCH] running `make` should build exec (#356) --- Makefile | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/Makefile b/Makefile index 7200eb44..e629d710 100644 --- a/Makefile +++ b/Makefile @@ -44,7 +44,11 @@ GIT_SUBMODULE_UPDATE := git submodule update --init --recursive else # "variables.mk" was included. Business as usual until the end of this file. # default target, because it's the first one that doesn't start with '.' -all: | test + +# Builds the codex binary +all: | build deps + echo -e $(BUILD_MSG) "build/$@" && \ + $(ENV_SCRIPT) nim codex $(NIM_PARAMS) codex.nims # must be included after the default target -include $(BUILD_SYSTEM_DIR)/makefiles/targets.mk @@ -96,11 +100,6 @@ testAll: | build deps echo -e $(BUILD_MSG) "build/$@" && \ $(ENV_SCRIPT) nim testAll $(NIM_PARAMS) codex.nims -# Builds the codex binary -exec: | build deps - echo -e $(BUILD_MSG) "build/$@" && \ - $(ENV_SCRIPT) nim codex $(NIM_PARAMS) codex.nims - # symlink codex.nims: ln -s codex.nimble $@