From b8446c868707ac1b86b482aac03002a2b585dbb6 Mon Sep 17 00:00:00 2001 From: Clyne Sullivan Date: Fri, 24 Jan 2025 10:45:22 -0500 Subject: branching, if-else-then; test arm compile --- Makefile | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index e3ccc3d..3408355 100644 --- a/Makefile +++ b/Makefile @@ -1,6 +1,9 @@ +#CC := arm-none-eabi-gcc -mcpu=cortex-m4 -mthumb CC := gcc CFLAGS := -O3 -ggdb -g3 -Wall -Wextra -all: - $(CC) $(CFLAGS) -c foci.c +all: foci $(CC) $(CFLAGS) main.c foci.o -o main + +foci: + $(CC) $(CFLAGS) -c foci.c -- cgit v1.2.3