diff options
Diffstat (limited to 'controller/Makefile')
-rw-r--r-- | controller/Makefile | 4 |
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. |