summaryrefslogtreecommitdiff
path: root/controller/Makefile
diff options
context:
space:
mode:
authorDuncan Wilkie <antigravityd@gmail.com>2023-07-18 11:55:03 -0500
committerDuncan Wilkie <antigravityd@gmail.com>2023-07-18 11:55:03 -0500
commited60865743a5d65240c9da353edb4dc20cf7009f (patch)
treebc7f7bb4ef3d48a1dfae42100667a5698d0b011e /controller/Makefile
parent18a2be0c24b68dbfb4667e08ab6e8912adf52e7b (diff)
Rename, add startup file.
Diffstat (limited to 'controller/Makefile')
-rw-r--r--controller/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/controller/Makefile b/controller/Makefile
index 00ed2da..9be9eb3 100644
--- a/controller/Makefile
+++ b/controller/Makefile
@@ -17,11 +17,11 @@ SRCS = $(wildcard src/*.c) \
OBJ = obj/
OBJS = $(addprefix $(OBJ),$(notdir $(SRCS:.c=.o)))
LD_SCRIPT = ld/$(MCU).ld
-IPATH = /home/dnw/Code/TivaC/libs
+IPATH = /home/dnw/Code/TivaC/libs/driverlib
# Flags.
CFLAGS = -mthumb -mcpu=cortex-m4 -mfpu=fpv4-sp-d16 -mfloat-abi=hard -ffunction-sections \
- -fdata-sections -MD -std=c99 -Wall -pedantic -DPART_${MCU} -c -Os -Dgcc -ggdb
+ -fdata-sections -MD -std=c2x -Wall -Wextra -Werror -DPART_${MCU} -c -Os -Dgcc -ggdb
CFLAGS += ${patsubst %,-I%,${subst :, ,${IPATH}}} -iquote inc
# Compiler/standard resource locations.