From 1ec844ea39052ebe2d805a3c8a613373c527f68a Mon Sep 17 00:00:00 2001 From: Tomasz Kramkowski Date: Thu, 23 Mar 2017 19:52:10 +0000 Subject: Makefile: split CPPFLAGS --- Makefile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index bb11f1f..187d516 100644 --- a/Makefile +++ b/Makefile @@ -10,7 +10,8 @@ WARNINGS = -Wpointer-arith -Wcast-align -Wformat=2 \ -Wsuggest-attribute=format -Wall \ -Wextra -Wpedantic -Winit-self -Wshadow -Wcast-qual \ -Wstrict-prototypes -Wmissing-prototypes -CFLAGS = -std=c11 $(WARNINGS) -O2 -flto -MMD -MP -ffreestanding -nostdlib -Ilib +CPPFLAGS = -Ilib +CFLAGS = -std=c11 $(WARNINGS) -O2 -flto -MMD -MP -ffreestanding -nostdlib LDFLAGS = -T layout.ld -O2 -flto -ffreestanding -nostdlib ASFLAGS = $(TARGET_ARCH) -- cgit v1.2.3-54-g00ecf