diff options
-rw-r--r-- | .dir-locals.el | 6 | ||||
-rw-r--r-- | Makefile | 4 |
2 files changed, 7 insertions, 3 deletions
diff --git a/.dir-locals.el b/.dir-locals.el index 62e25f6..d9e0d06 100644 --- a/.dir-locals.el +++ b/.dir-locals.el @@ -1,2 +1,6 @@ ((c-mode . ((flycheck-gcc-include-path . ("C:/Program Files/swipl/include")) - (flycheck-gcc-definitions . ("UNICODE" "_UNICODE"))))) + (flycheck-gcc-definitions . ("UNICODE" "_UNICODE")))) + (nil . ((eval . (progn + (require 'project) + (setq-local tags-table-list + (list (concat (car (project-roots (project-current))) "TAGS")))))))) @@ -25,8 +25,8 @@ $(B)resource.obj: c/resource.h c/resource.rc $(B)%.obj: c/%.c c/defs.h $(CC) -c $(CFLAGS) -o $@ $< -TAGS: c/*.c c/*.h - etags $^ +TAGS: c/*.c c/*.h pl/*.pl + etags c/*.c c/*.h -lprolog pl/*.pl clean: rm -fr $(B)EpisodeBrowser.exe $(B)*.obj |