From 619ebe7cd55f35f24eaae08fbf33951950ff9e20 Mon Sep 17 00:00:00 2001 From: Delyan Angelov Date: Mon, 20 Jan 2025 12:00:55 +0200 Subject: [PATCH] GNUmakefile: add ctags and etags make targets for the V compiler frontend --- GNUmakefile | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/GNUmakefile b/GNUmakefile index feb95bd099..957bffbee6 100644 --- a/GNUmakefile +++ b/GNUmakefile @@ -90,7 +90,7 @@ endif endif endif -.PHONY: all clean rebuild check fresh_vc fresh_tcc fresh_legacy check_for_working_tcc +.PHONY: all clean rebuild check fresh_vc fresh_tcc fresh_legacy check_for_working_tcc etags ctags ifdef prod VFLAGS+=-prod @@ -213,3 +213,9 @@ install: check: $(VEXE) test-all + +etags: + ./v -print-v-files cmd/v | grep -v :parse_text| etags -L - + +ctags: + ./v -print-v-files cmd/v | grep -v :parse_text| ctags -L -