summaryrefslogtreecommitdiff
path: root/gastro/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'gastro/Makefile')
-rw-r--r--gastro/Makefile6
1 files changed, 3 insertions, 3 deletions
diff --git a/gastro/Makefile b/gastro/Makefile
index d1c3f1e..781aefe 100644
--- a/gastro/Makefile
+++ b/gastro/Makefile
@@ -38,8 +38,8 @@ clean:
-rm $(EXE)
-rm -r $(BUILD)/
-TAGS: $(SRCS)
- etags $^
+tags: $(SRCS)
+ ctags --kinds-all=* --fields=* --extras=* $^
install: $(EXE) $(LIB)
mkdir -p $(DESTDIR)$(bindir) $(DESTDIR)$(libdir) $(DESTDIR)$(includedir)
@@ -47,7 +47,7 @@ install: $(EXE) $(LIB)
install $(LIB) $(DESTDIR)$(libdir)/$(LIB)
cp -r include/* $(DESTDIR)$(includedir)
-check-syntax: TAGS
+check-syntax: tags
gcc $(CFLAGS) -fsyntax-only $(CHK_SOURCES)
-include $(OBJECTS:.o=.d)