Skip to content

Commit 619ebe7

Browse files
committed
GNUmakefile: add ctags and etags make targets for the V compiler frontend
1 parent bd10e12 commit 619ebe7

1 file changed

Lines changed: 7 additions & 1 deletion

File tree

‎GNUmakefile‎

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ endif
9090
endif
9191
endif
9292

93-
.PHONY: all clean rebuild check fresh_vc fresh_tcc fresh_legacy check_for_working_tcc
93+
.PHONY: all clean rebuild check fresh_vc fresh_tcc fresh_legacy check_for_working_tcc etags ctags
9494

9595
ifdef prod
9696
VFLAGS+=-prod
@@ -213,3 +213,9 @@ install:
213213

214214
check:
215215
$(VEXE) test-all
216+
217+
etags:
218+
./v -print-v-files cmd/v | grep -v :parse_text| etags -L -
219+
220+
ctags:
221+
./v -print-v-files cmd/v | grep -v :parse_text| ctags -L -

0 commit comments

Comments
 (0)