Subversion Repositories HelenOS-historic

Rev

Rev 532 | Only display areas with differences | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

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