Go to most recent revision | Details | Last modification | View Log | RSS feed
Rev | Author | Line No. | Line |
---|---|---|---|
1 | jermar | 1 | .PHONY: nothing build |
2 | |||
3 | nothing: |
||
4 | |||
5 | build: boot.bin |
||
6 | cp boot.bin ../../../src/load.bin |
||
7 | |||
8 | AS=/usr/local/mips/bin/decstation-ultrix-as |
||
9 | LD=/usr/local/mips/bin/decstation-ultrix-ld |
||
10 | |||
11 | ASFLAGS=-mips2 -EL |
||
12 | LFLAGS=--oformat=binary -mips2 -EL -e start |
||
13 | |||
14 | boot.bin: boot.o |
||
15 | $(LD) $(LFLAGS) boot.o -o $@ |
||
16 | |||
17 | boot.o: |
||
18 | $(AS) boot.s -o $@ |
||
19 | |||
20 | clean: |
||
21 | -rm *.o *.bin |