From 93a1cd5aab83f02c5344e33a52c2cd302538d6c3 Mon Sep 17 00:00:00 2001 From: Delyan Angelov Date: Wed, 14 Dec 2022 13:25:40 +0200 Subject: [PATCH] freebsd: update Makefile to use --filter=blob:none for vc/ --- Makefile | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/Makefile b/Makefile index 67d579a99f..0ab227dea6 100644 --- a/Makefile +++ b/Makefile @@ -5,9 +5,8 @@ LDFLAGS ?= .PHONY: all check -all: - rm -rf vc/ - git clone --depth 1 --quiet https://github.com/vlang/vc +all: vc + git -C vc/ pull; $(CC) $(CFLAGS) -std=gnu11 -w -o v1 vc/v.c -lm -lexecinfo -lpthread $(LDFLAGS) ./v1 -no-parallel -o v2 $(VFLAGS) cmd/v ./v2 -o v $(VFLAGS) cmd/v @@ -15,5 +14,8 @@ all: @echo "V has been successfully built" ./v run ./cmd/tools/detect_tcc.v +vc/v.c: + git clone --filter=blob:none https://github.com/vlang/vc + check: ./v test-all