diff options
author | Tavian Barnes <tavianator@tavianator.com> | 2017-03-11 14:06:42 -0500 |
---|---|---|
committer | Tavian Barnes <tavianator@tavianator.com> | 2017-03-11 14:06:42 -0500 |
commit | 21f6c460fcda0161993f75421614efb6971af23b (patch) | |
tree | 80ff098bd62d81a694ad22c1dae66cdb01c7e51f /Makefile | |
parent | d03c58ef1cc8aa932b4f652dea14f762716bc02a (diff) | |
download | bfs-21f6c460fcda0161993f75421614efb6971af23b.tar.xz |
Make a printf()-style API for colored messages
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -16,7 +16,8 @@ VERSION := $(shell git describe --always) endif CC ?= gcc -CFLAGS ?= -g -Wall +WFLAGS ?= -Wall -Wmissing-declarations +CFLAGS ?= -g $(WFLAGS) LDFLAGS ?= DEPFLAGS ?= -MD -MP -MF $(@:.o=.d) RM ?= rm -f @@ -46,7 +47,7 @@ all: bfs bfs: bftw.o color.o dstring.o eval.o main.o parse.o printf.o typo.o util.o $(CC) $(ALL_LDFLAGS) $^ -o $@ -release: CFLAGS := -O3 -flto -Wall -DNDEBUG +release: CFLAGS := -O3 -flto $(WFLAGS) -DNDEBUG release: bfs %.o: %.c |