summaryrefslogtreecommitdiff
path: root/demo/GNUmakefile
diff options
context:
space:
mode:
Diffstat (limited to 'demo/GNUmakefile')
-rw-r--r--demo/GNUmakefile26
1 files changed, 13 insertions, 13 deletions
diff --git a/demo/GNUmakefile b/demo/GNUmakefile
index d5c5a81..31b7b87 100644
--- a/demo/GNUmakefile
+++ b/demo/GNUmakefile
@@ -5,25 +5,25 @@
# TOOLS
AS := arm-none-eabi-as
-CC := clang --target=arm-none-eabi
-#CC := arm-none-eabi-gcc
+CC := arm-none-eabi-gcc
+#CC := clang --target=arm-none-eabi
LD := arm-none-eabi-ld
OBJCOPY := arm-none-eabi-objcopy
# TOOL FLAGS
CFLAGS := \
- -I../ax/include \
- -Iinclude \
- -O3 \
- -Wall \
- -Wextra \
- -Wpedantic \
- -Wno-gnu-binary-literal \
- -Wno-gnu-empty-initializer \
- -fshort-enums \
- -mcpu=arm7tdmi \
- -nostdlib \
+ -I../ax/include \
+ -Iinclude \
+ -Oz \
+ -Wall \
+ -Wextra \
+ -Wpedantic \
+ -ffreestanding \
+ -fshort-enums \
+ -mcpu=arm7tdmi \
+ -mthumb \
+ -nostdlib \
-std=c2x
LDFLAGS := \