blob: 3408355035b283786b2367dd32bb51d8da5c8778 (
plain)
1
2
3
4
5
6
7
8
9
|
#CC := arm-none-eabi-gcc -mcpu=cortex-m4 -mthumb
CC := gcc
CFLAGS := -O3 -ggdb -g3 -Wall -Wextra
all: foci
$(CC) $(CFLAGS) main.c foci.o -o main
foci:
$(CC) $(CFLAGS) -c foci.c
|