summaryrefslogtreecommitdiff
path: root/pit
diff options
context:
space:
mode:
Diffstat (limited to 'pit')
-rw-r--r--pit/.gitignore3
-rw-r--r--pit/Makefile6
2 files changed, 5 insertions, 4 deletions
diff --git a/pit/.gitignore b/pit/.gitignore
index 7969bdc..4e44109 100644
--- a/pit/.gitignore
+++ b/pit/.gitignore
@@ -3,4 +3,5 @@
/pit
/*.a
/result
-TAGS \ No newline at end of file
+TAGS
+tags \ No newline at end of file
diff --git a/pit/Makefile b/pit/Makefile
index 2d71a7c..771ea0d 100644
--- a/pit/Makefile
+++ b/pit/Makefile
@@ -58,8 +58,8 @@ clean:
-rm $(LIB_NATIVE)
-rm -r $(BUILD)/
-TAGS: $(SRCS)
- ctags --output-format=etags $^
+tags: $(SRCS)
+ ctags --kinds-all=* --fields=* --extras=* --recurse src/ include/
install: install-bin install-headers install-core install-native
@@ -79,7 +79,7 @@ install-native: $(LIB_NATIVE)
mkdir -p $(DESTDIR)$(bindir) $(DESTDIR)$(libdir) $(DESTDIR)$(includedir)
install $(LIB_NATIVE) $(DESTDIR)$(libdir)/$(LIB_NATIVE)
-check-syntax: TAGS
+check-syntax: tags
gcc $(CFLAGS) -fsyntax-only $(CHK_SOURCES)
gdb: $(EXE)