summaryrefslogtreecommitdiffstats
path: root/boot/Makefile
blob: 2fc7d3d5f06556ebe23b434aea5f974473f2e054 (plain)
1
2
3
4
5
6
7
8
9
10
BOOT_FILES = boot/load.o

boot/boot.o : $(BOOT_FILES)
	@echo Linking $*.o
	@ld -r -o $*.o $(BOOT_FILES)
	@echo

boot/load.o : boot/load.S include/asm/version.h
	@echo Compiling boot/load.S
	@cpp boot/load.S -I include | as -o $*.o