From dc55ce47648236f2212f01463d1f62529e5174c2 Mon Sep 17 00:00:00 2001 From: Mathieu Aubin Date: Tue, 14 Jan 2020 10:17:17 -0500 Subject: [PATCH] add static compilation to Makefile --- Makefile | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Makefile b/Makefile index a7c5fddab8..d42c9157e3 100644 --- a/Makefile +++ b/Makefile @@ -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