GNUmakefile: add ctags and etags make targets for the V compiler frontend

This commit is contained in:
Delyan Angelov 2025-01-20 12:00:55 +02:00
parent bd10e12460
commit 619ebe7cd5
No known key found for this signature in database
GPG key ID: 66886C0F12D595ED

View file

@ -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 -