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