1 CFLAGS
=-g
-Wall
-MD
-O2
$(shell sdl-config
--cflags)
2 LDFLAGS
=$(shell sdl-config
--libs
)
3 TESTPROG
=please-set-TESTPROG
9 cp sim
$(YARI_XTOOLS_INSTALL_PREFIX
)/bin
/yarisim
12 .
/sim
$(FLAGS
) $(TESTPROG
) $(FIRMWARE
)
15 mips-elf-gcc
-O
-msoft-float
-Tmymips.
ld $< -o
$@
18 ..
/testcases
/testgen
> tests.c
23 output
: output.c Makefile mymips.
ld
24 mips-elf-gcc
-msoft-float
-Tmymips.
ld output.c
-o output
26 sim
: sim.o support.o run_simple.o