35 lines
421 B
Makefile
35 lines
421 B
Makefile
##
|
|
# Renamer
|
|
#
|
|
# @file
|
|
# @version 0.1
|
|
|
|
SRC = *.nim
|
|
SRCDIR = src
|
|
BIN = renamer
|
|
|
|
debug:
|
|
nimble build '-d:ssl --cc:clang'
|
|
|
|
release:
|
|
nimble build '-d:ssl --cc:clang -d:release'
|
|
|
|
small:
|
|
nimble build '-d:ssl --cc:gcc -d:danger -d:strip --opt:size -d:release --passC:-flto --passL:-flto'
|
|
|
|
clean:
|
|
rm -f ./${BIN}
|
|
|
|
run:
|
|
./${BIN}
|
|
|
|
docs:
|
|
nim doc ${SRCDIR}/${SRC}
|
|
|
|
pretty:
|
|
nimpretty ${SRCDIR}/${SRC}
|
|
|
|
test:
|
|
nimble test
|
|
|
|
# end
|