make tags

This commit is contained in:
2020-06-12 17:05:34 -07:00
parent 25d09f4d08
commit 81fd753efd

View File

@@ -1,11 +1,15 @@
CFLAGS=--std=c18 -Wall -Wextra -pedantic CFLAGS=--std=c18 -O2 -Wall -Wextra -pedantic
LDLIBS=-lncurses -lcurl LDLIBS=-lncurses -lcurl
.phony: clean .phony: clean
objects := $(patsubst %.c,%.o,$(wildcard **/*.c)) srcs := $(wildcard **/*.c)
objects := $(patsubst %.c,%.o,$(srcs))
ncac: $(objects) ncac: $(objects)
tags: $(srcs)
ctags -w -t $^
clean: clean:
rm -f **/*.o ncac rm -f **/*.o ncac