diff options
author | Tomasz Kramkowski <tk@the-tk.com> | 2017-03-23 19:52:10 +0000 |
---|---|---|
committer | Tomasz Kramkowski <tk@the-tk.com> | 2017-03-23 19:52:10 +0000 |
commit | 1ec844ea39052ebe2d805a3c8a613373c527f68a (patch) | |
tree | ab3c48158392b11ea41515f1c78fb3f1fea52aca /Makefile | |
parent | b5c347bba125d91a0c215f9d0edd33fefca2db51 (diff) | |
download | fmk-1ec844ea39052ebe2d805a3c8a613373c527f68a.tar.gz fmk-1ec844ea39052ebe2d805a3c8a613373c527f68a.tar.xz fmk-1ec844ea39052ebe2d805a3c8a613373c527f68a.zip |
Makefile: split CPPFLAGS
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -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) |