Subversion Repositories HelenOS-historic

Rev

Rev 455 | Go to most recent revision | Details | Compare with Previous | Last modification | View Log | RSS feed

Rev Author Line No. Line
457 decky 1
.PHONY: build clean
1 jermar 2
 
457 decky 3
CFLAGS = -nostdinc -nostdlib -fno-builtin -Werror-implicit-function-declaration -Wmissing-prototypes -Werror -O3 -mips3 -I../include
1 jermar 4
 
5
build: boot.bin
376 jermar 6
	cp boot.bin ../../../load.bin
1 jermar 7
 
8
boot.bin: boot.o
457 decky 9
	$(LD) -e start -T _link.ld boot.o -o $@
1 jermar 10
 
457 decky 11
boot.o: boot.S
12
	$(CC) $(CFLAGS) -c boot.S -o $@
1 jermar 13
 
14
clean:
457 decky 15
	-rm -f boot.o boot.bin ../../../load.bin