From 69b4594bb3e8fbdc696fc13bc4b534f0db47d9b4 Mon Sep 17 00:00:00 2001 From: Nicolas Sauzede Date: Tue, 15 Oct 2019 16:22:16 +0200 Subject: [PATCH] makefile: download tcc linux and windows only --- Makefile | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/Makefile b/Makefile index 1035c71e5e..3623d2d066 100644 --- a/Makefile +++ b/Makefile @@ -39,8 +39,14 @@ fresh_vc: git clone --depth 1 --quiet https://github.com/vlang/vc fresh_tcc: +ifdef WIN32 + rm -rf /var/tmp/tcc/ + git clone --depth 1 --quiet https://github.com/vlang/tccbin_win /var/tmp/tcc +endif +ifdef LINUX rm -rf /var/tmp/tcc/ git clone --depth 1 --quiet https://github.com/vlang/tccbin /var/tmp/tcc +endif selfcompile: ./v v.v