From 4e24b69d89d11ecb70117a157af38c0abcef5470 Mon Sep 17 00:00:00 2001 From: array-in-a-matrix Date: Tue, 22 Nov 2022 21:30:58 -0500 Subject: [PATCH] renamed executables --- Makefile | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/Makefile b/Makefile index e14e67e..8baddda 100644 --- a/Makefile +++ b/Makefile @@ -1,27 +1,27 @@ -BUILD_DIR := bin/ +BIN_DIR := bin/ SRC_DIR := src/ DOC_DIR := doc/ DOC_TYPE ?= doc all: - nim compile --verbosity:0 --hints:on --showAllMismatches:on --out:$(BUILD_DIR) $(SRC_DIR)main.nim + nim compile --verbosity:0 --hints:on --showAllMismatches:on --out:$(BIN_DIR) $(SRC_DIR)main.nim + @cp $(BIN_DIR)main $(BIN_DIR)dot + @cp $(BIN_DIR)main $(BIN_DIR)cross doc: nim $(DOC_TYPE) --outdir:$(DOC_DIR) $(SRC_DIR)main.nim -release: clean - nim compile --define:release --out:$(BUILD_DIR) $(SRC_DIR)main.nim - -real: release +real: clean + nim compile --define:release --out:$(BIN_DIR) $(SRC_DIR)main.nim run: all @echo "====================================================" @echo "" - @$(BUILD_DIR)main + @$(BIN_DIR)main -crun: clean run +cr: clean run clean: - @rm -rf $(BUILD_DIR) $(DOC_DIR) + @rm -rf $(BIN_DIR) $(DOC_DIR) clear: clean \ No newline at end of file