summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Makefile3
1 files changed, 2 insertions, 1 deletions
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)