Subversion Repositories HelenOS-historic

Rev

Go to most recent revision | Details | Last modification | View Log | RSS feed

Rev Author Line No. Line
1 jermar 1
.PHONY: nothing build clean
2
 
3
nothing:
4
 
5
build: boot.bin
6
	dd if=boot.bin of=../../../src/image.bin bs=512 conv=sync
7
	-cat ../../../src/kernel.bin >>../../../src/image.bin
8
 
9
boot.bin: boot.o
10
	ld -T boot.ld -entry _start_0x7c00 --oformat binary boot.o -o $@
11
 
12
boot.o: boot.S
13
	gcc -E -DKERNEL_SIZE=$(KERNEL_SIZE) boot.S >boot.s
14
	as boot.s -o $@
15
	rm boot.s
16
 
17
clean:
18
	-rm *.o *.bin