1
0
mirror of https://github.com/vlang/v.git synced 2023-08-10 21:13:21 +03:00

add static compilation to Makefile

This commit is contained in:
Mathieu Aubin 2020-01-14 10:17:17 -05:00 committed by Alexander Medvednikov
parent 6b3f54692a
commit dc55ce4764

View File

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