source: sources/examples/soclib_date04/timer4_gmn_handmade/soft/Makefile @ 27

Last change on this file since 27 was 1, checked in by buchmann, 17 years ago

Initial import from CVS repository

File size: 742 bytes
Line 
1MIPSEL = $(DISYDENT)/latest/i686-pc-linux-gnu/bin
2CC = $(MIPSEL)/mipsel-cass-elf-gcc
3AS = $(MIPSEL)/mipsel-cass-elf-as
4LD = $(MIPSEL)/mipsel-cass-elf-ld
5OBJDUMP = $(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
13reset.o : reset.s
14        $(AS) reset.s -o reset.o
15
16exception.o : exception.s
17        $(AS) exception.s -o exception.o
18
19main.o : main.c
20        $(CC) -c main.c
21
22main.s : main.c
23        $(CC) -S main.c
24
25it.o : it.c
26        $(CC) -c it.c
27
28uputs.o : uputs.s
29        $(AS) uputs.s -o uputs.o
30
31procnum.o : procnum.s
32        $(AS) procnum.s -o procnum.o
33
34clean :
35        -rm *.o
36        -rm ../a.out
37        -rm ../aout.txt
Note: See TracBrowser for help on using the repository browser.