diff options
| author | Bruce Hill <bruce@bruce-hill.com> | 2019-11-24 22:11:54 -0800 |
|---|---|---|
| committer | Bruce Hill <bruce@bruce-hill.com> | 2019-11-24 22:11:54 -0800 |
| commit | 56cb3a2d66e847a9a53997fcecec1de6833fd4ab (patch) | |
| tree | dffea60533686c3a509d34461d54b9e1b3c62e49 /Makefile | |
| parent | 6c98653cca6b98d31c400228c087a0ade2a4ced1 (diff) | |
Bunch of minor pedantic cleanups to get rid of warnings and tidy up the
code.
Diffstat (limited to 'Makefile')
| -rw-r--r-- | Makefile | 7 |
1 files changed, 3 insertions, 4 deletions
@@ -3,14 +3,13 @@ PREFIX= CC=gcc O=-O2 CFLAGS=-std=c99 -D_XOPEN_SOURCE=500 -D_GNU_SOURCE -D_POSIX_C_SOURCE=200809L -CWARN=-Wall -Wpedantic -Wno-unknown-pragmas -#CWARN += -fsanitize=address -fno-omit-frame-pointer +CWARN=-Wall -Wpedantic -Wextra -Wno-unknown-pragmas -Wno-missing-field-initializers\ + -Wno-padded -Wsign-conversion -Wno-missing-noreturn -Wno-cast-qual -Wtype-limits +#CFLAGS += -fsanitize=address -fno-omit-frame-pointer G= ifeq ($(shell uname),Darwin) CFLAGS += -D_DARWIN_C_SOURCE - CWARN += -Weverything -Wno-missing-field-initializers -Wno-padded\ - -Wno-missing-noreturn -Wno-cast-qual endif ifneq (, $(SH)) |
