diff options
author | Vadim Mikhailov <mvp@users.noreply.github.com> | 2017-07-28 11:03:58 -0700 |
---|---|---|
committer | Vadim Mikhailov <mvp@users.noreply.github.com> | 2017-07-28 11:19:50 -0700 |
commit | d5cf8f882a378d9c6edae09e6e0979e0c5ce6338 (patch) | |
tree | 62e74a3988181837c4a187711623f11413075f8f /Makefile | |
parent | 39d30bdad33f6a2fe8b508bb96baab182cc178b7 (diff) |
use C99 and enable pedantic checking
Also simplify ifdef spaghetti.
Remove _WIN64 use as _WIN32 is defined on both Win32 and Win64.
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -13,7 +13,7 @@ RM := rm -rf CC ?= gcc CFLAGS ?= -g -O0 -CFLAGS += -Wall -Wextra +CFLAGS += -Wall -Wextra -std=c99 -pedantic ifeq ($(UNAME_S),Linux) LDFLAGS += -Wl,-z,relro -lusb-1.0 |