diff options
author | Clyne Sullivan <clyne@bitgloo.com> | 2025-01-24 10:45:22 -0500 |
---|---|---|
committer | Clyne Sullivan <clyne@bitgloo.com> | 2025-01-24 10:45:22 -0500 |
commit | b8446c868707ac1b86b482aac03002a2b585dbb6 (patch) | |
tree | 82578c37fa95285d2ca4c6ad46e53655722b5741 /Makefile | |
parent | 3776fbcb74435ba11395fe5f1d80f7ede39c7d66 (diff) |
branching, if-else-then; test arm compile
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 7 |
1 files changed, 5 insertions, 2 deletions
@@ -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 |