Last change
on this file since 33 was
1,
checked in by buchmann, 17 years ago
|
Initial import from CVS repository
|
File size:
742 bytes
|
Line | |
---|
1 | MIPSEL = $(DISYDENT)/latest/i686-pc-linux-gnu/bin |
---|
2 | CC = $(MIPSEL)/mipsel-cass-elf-gcc |
---|
3 | AS = $(MIPSEL)/mipsel-cass-elf-as |
---|
4 | LD = $(MIPSEL)/mipsel-cass-elf-ld |
---|
5 | OBJDUMP = $(MIPSEL)/mipsel-cass-elf-objdump |
---|
6 | |
---|
7 | ../aout.txt : ../a.out |
---|
8 | $(OBJDUMP) -D ../a.out > ../aout.txt |
---|
9 | |
---|
10 | ../a.out : main.o it.o uputs.o procnum.o ldscript reset.o exception.o |
---|
11 | $(LD) -T./ldscript -o ../a.out main.o it.o uputs.o procnum.o |
---|
12 | |
---|
13 | reset.o : reset.s |
---|
14 | $(AS) reset.s -o reset.o |
---|
15 | |
---|
16 | exception.o : exception.s |
---|
17 | $(AS) exception.s -o exception.o |
---|
18 | |
---|
19 | main.o : main.c |
---|
20 | $(CC) -c main.c |
---|
21 | |
---|
22 | main.s : main.c |
---|
23 | $(CC) -S main.c |
---|
24 | |
---|
25 | it.o : it.c |
---|
26 | $(CC) -c it.c |
---|
27 | |
---|
28 | uputs.o : uputs.s |
---|
29 | $(AS) uputs.s -o uputs.o |
---|
30 | |
---|
31 | procnum.o : procnum.s |
---|
32 | $(AS) procnum.s -o procnum.o |
---|
33 | |
---|
34 | clean : |
---|
35 | -rm *.o |
---|
36 | -rm ../a.out |
---|
37 | -rm ../aout.txt |
---|
Note: See
TracBrowser
for help on using the repository browser.