Core: remove use of blocking assignments (XST can't deal)
[yari.git] / yarisim / Makefile
blob11e367d1b44be3a3a5659095083171f635284247
1 CFLAGS=-g -Wall -MD -O2 $(shell sdl-config --cflags)
2 LDFLAGS=$(shell sdl-config --libs)
3 TESTPROG=please-set-TESTPROG
4 FLAGS=
6 all: sim
8 install: sim
9 cp sim $(YARI_XTOOLS_INSTALL_PREFIX)/bin/yarisim
11 run: sim
12 ./sim $(FLAGS) $(TESTPROG) $(FIRMWARE)
14 tests: tests.c
15 mips-elf-gcc -O -msoft-float -Tmymips.ld $< -o $@
17 tests.c:
18 ../testcases/testgen > tests.c
20 all_: sim output
21 ./sim --simple output
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
28 clean:
29 -rm *.o *.d sim
31 realclean: clean
32 -rm *~
34 -include *.d