build: make compiler variables overridable
This commit is contained in:
parent
865f9d0ccb
commit
ef760ca01a
1 changed files with 4 additions and 4 deletions
8
Makefile
8
Makefile
|
|
@ -19,11 +19,11 @@ MAKEFLAGS += --no-print-directory
|
|||
|
||||
include sources.mk
|
||||
|
||||
CC = clang
|
||||
CPPFLAGS = -std=c99 -I includes -D_POSIX_C_SOURCE=199309L
|
||||
CFLAGS = -Wall -Wextra -Werror -pipe -Wpedantic -Wconversion
|
||||
CC ?= clang
|
||||
CPPFLAGS ?= -std=c99 -I includes -D_POSIX_C_SOURCE=199309L
|
||||
CFLAGS ?= -Wall -Wextra -Werror -pipe -Wpedantic -Wconversion
|
||||
CFLAGS_SHARED = $(CFLAGS) -fPIC
|
||||
LDFLAGS =
|
||||
LDFLAGS ?=
|
||||
TEST_LDFLAGS = -lcriterion
|
||||
TEST_CFLAGS = -Wall -Wextra -Werror -pipe
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue