summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile5
1 files changed, 4 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 8e1f045..d6d69fa 100644
--- a/Makefile
+++ b/Makefile
@@ -1,4 +1,4 @@
-OBJ=bootstub.o spi-uart.o head.o
+OBJ=bootstub.o spi-uart.o head.o sfi.o
CFLAGS=-ffreestanding -Wall
#for cross compile
#CFLAGS=-m32 -ffreestanding -Wall
@@ -20,6 +20,9 @@ bootstub.o:bootstub.c bootstub.h
spi-uart.o:spi-uart.c spi-uart.h
gcc $(CFLAGS) -c spi-uart.c
+sfi.o:sfi.c
+ gcc $(CFLAGS) -c sfi.c
+
head.o:head.S bootstub.h
gcc $(CFLAGS) -c head.S