URL
https://opencores.org/ocsvn/mlite/mlite/trunk
[/] [mlite/] [trunk/] [tools/] [makefile] - Diff between revs 22 and 32
Go to most recent revision |
Show entire file |
Details |
Blame |
View Log
Rev 22 |
Rev 32 |
Line 7... |
Line 7... |
@cl mips.c
|
@cl mips.c
|
|
|
tracehex.exe: tracehex.c
|
tracehex.exe: tracehex.c
|
@cl tracehex.c
|
@cl tracehex.c
|
|
|
opcodes:
|
opcodes: all
|
as -o opcodes.o opcodes.asm
|
as -o opcodes.o opcodes.asm
|
ld -Ttext 0 -eentry -otest.exe opcodes.o
|
ld -Ttext 0 -eentry -Map test.map -s -N -o test.exe opcodes.o
|
@objdump --disassemble-all test.exe > test.lst
|
@objdump --disassemble test.exe > test.lst
|
@convert
|
@convert
|
-@mips test2.exe BD > test.txt
|
-@mips test2.exe BD > test.txt
|
@copy code.txt ..\vhdl
|
@copy code.txt ..\vhdl
|
|
|
test:
|
test: all
|
@as -o boot.o boot.asm
|
@as -o boot.o boot.asm
|
gcc -DMIPS -c -s test.c
|
gcc -DMIPS -Dmain=main2 -Wall -c -s test.c
|
ld -Ttext 0 -eentry -otest.exe boot.o test.o
|
ld -Ttext 0 -eentry -Map test.map -s -N -o test.exe boot.o test.o
|
@objdump --disassemble-all test.exe > test.lst
|
@objdump --disassemble test.exe > test.lst
|
@convert
|
@convert
|
-@mips test2.exe BD > test.txt
|
-@mips test2.exe BD > test.txt
|
@copy code.txt ..\vhdl
|
@copy code.txt ..\vhdl
|
|
|
run: code.txt mips.exe
|
powc: all
|
|
@as -o boot.o boot.asm
|
|
gcc -DMIPS -Dmain=main2 -Wall -c -s powc.c
|
|
ld -Ttext 0 -eentry -Map test.map -s -N -o test.exe boot.o powc.o
|
|
@objdump --disassemble test.exe > test.lst
|
|
@convert
|
|
-@mips test2.exe BD > test.txt
|
|
@copy code.txt ..\vhdl
|
|
|
|
pi: all
|
|
@as -o boot.o boot.asm
|
|
gcc -DMIPS -Dmain=main2 -Wall -c -s pi.c
|
|
ld -Ttext 0 -eentry -Map test.map -s -N -o test.exe boot.o pi.o
|
|
@objdump --disassemble test.exe > test.lst
|
|
@convert
|
|
-@mips test2.exe BD > test.txt
|
|
@copy code.txt ..\vhdl
|
|
|
|
run: mips.exe
|
@mips test2.exe B
|
@mips test2.exe B
|
|
|
|
|
|
|
© copyright 1999-2024
OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.