make tags
This commit is contained in:
8
Makefile
8
Makefile
@@ -1,11 +1,15 @@
|
||||
CFLAGS=--std=c18 -Wall -Wextra -pedantic
|
||||
CFLAGS=--std=c18 -O2 -Wall -Wextra -pedantic
|
||||
LDLIBS=-lncurses -lcurl
|
||||
|
||||
.phony: clean
|
||||
|
||||
objects := $(patsubst %.c,%.o,$(wildcard **/*.c))
|
||||
srcs := $(wildcard **/*.c)
|
||||
objects := $(patsubst %.c,%.o,$(srcs))
|
||||
|
||||
ncac: $(objects)
|
||||
|
||||
tags: $(srcs)
|
||||
ctags -w -t $^
|
||||
|
||||
clean:
|
||||
rm -f **/*.o ncac
|
||||
|
||||
Reference in New Issue
Block a user