mirror of
https://github.com/vlang/v.git
synced 2023-08-10 21:13:21 +03:00
freebsd: update Makefile to use --filter=blob:none for vc/
This commit is contained in:
parent
173b1895d6
commit
93a1cd5aab
8
Makefile
8
Makefile
@ -5,9 +5,8 @@ LDFLAGS ?=
|
|||||||
|
|
||||||
.PHONY: all check
|
.PHONY: all check
|
||||||
|
|
||||||
all:
|
all: vc
|
||||||
rm -rf vc/
|
git -C vc/ pull;
|
||||||
git clone --depth 1 --quiet https://github.com/vlang/vc
|
|
||||||
$(CC) $(CFLAGS) -std=gnu11 -w -o v1 vc/v.c -lm -lexecinfo -lpthread $(LDFLAGS)
|
$(CC) $(CFLAGS) -std=gnu11 -w -o v1 vc/v.c -lm -lexecinfo -lpthread $(LDFLAGS)
|
||||||
./v1 -no-parallel -o v2 $(VFLAGS) cmd/v
|
./v1 -no-parallel -o v2 $(VFLAGS) cmd/v
|
||||||
./v2 -o v $(VFLAGS) cmd/v
|
./v2 -o v $(VFLAGS) cmd/v
|
||||||
@ -15,5 +14,8 @@ all:
|
|||||||
@echo "V has been successfully built"
|
@echo "V has been successfully built"
|
||||||
./v run ./cmd/tools/detect_tcc.v
|
./v run ./cmd/tools/detect_tcc.v
|
||||||
|
|
||||||
|
vc/v.c:
|
||||||
|
git clone --filter=blob:none https://github.com/vlang/vc
|
||||||
|
|
||||||
check:
|
check:
|
||||||
./v test-all
|
./v test-all
|
||||||
|
Loading…
Reference in New Issue
Block a user