add static compilation to Makefile

pull/3450/head
Mathieu Aubin 2020-01-14 10:17:17 -05:00 committed by Alexander Medvednikov
parent 6b3f54692a
commit dc55ce4764
1 changed files with 3 additions and 0 deletions

View File

@ -94,6 +94,9 @@ $(TMPVC)/.git/config:
selfcompile:
./v -cg -o v v.v
selfcompile-static:
./v -cg -cflags '--static' -o v-static v.v
modules: module_builtin module_strings module_strconv
module_builtin:
#./v build module vlib/builtin > /dev/null