diff options
author | Tavian Barnes <tavianator@tavianator.com> | 2018-12-25 18:00:14 -0500 |
---|---|---|
committer | Tavian Barnes <tavianator@tavianator.com> | 2019-01-02 16:33:02 -0500 |
commit | 7fc7e98df2ea9c34dd1e0cb188554bed933a16df (patch) | |
tree | 6318a0afd2da2b2343a361e8abbc3896cd10a5a4 /Makefile | |
parent | ebcef71ef803940bff9ceb2c8d3ac5a1018bc084 (diff) | |
download | bfs-7fc7e98df2ea9c34dd1e0cb188554bed933a16df.tar.xz |
diag: Unify diagnostic formatting
This adds a bfs: prefix to error/warning messages for consistency with
other command line tools, and leaves only the "error:"/"warning:" part
colored like GCC. It also uniformly adds full stops after messages.
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -63,7 +63,7 @@ ALL_LDLIBS = $(LOCAL_LDLIBS) $(LDLIBS) all: bfs -bfs: bftw.o color.o dstring.o eval.o exec.o main.o mtab.o opt.o parse.o printf.o spawn.o stat.o typo.o util.o +bfs: bftw.o color.o diag.o dstring.o eval.o exec.o main.o mtab.o opt.o parse.o printf.o spawn.o stat.o typo.o util.o $(CC) $(ALL_LDFLAGS) $^ $(ALL_LDLIBS) -o $@ sanitized: CFLAGS := -g $(WFLAGS) -fsanitize=address -fsanitize=undefined |