renamed executables
This commit is contained in:
parent
8005c7933d
commit
4e24b69d89
18
Makefile
18
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
|
Loading…
Reference in a new issue