makefile: download tcc linux and windows only

pull/2361/head
Nicolas Sauzede 2019-10-15 16:22:16 +02:00 committed by Alexander Medvednikov
parent a5d61f6da0
commit 69b4594bb3
1 changed files with 6 additions and 0 deletions

View File

@ -39,8 +39,14 @@ fresh_vc:
git clone --depth 1 --quiet https://github.com/vlang/vc git clone --depth 1 --quiet https://github.com/vlang/vc
fresh_tcc: 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/ rm -rf /var/tmp/tcc/
git clone --depth 1 --quiet https://github.com/vlang/tccbin /var/tmp/tcc git clone --depth 1 --quiet https://github.com/vlang/tccbin /var/tmp/tcc
endif
selfcompile: selfcompile:
./v v.v ./v v.v