aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile10
1 files changed, 8 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index 67a8e0e..a649a72 100644
--- a/Makefile
+++ b/Makefile
@@ -113,6 +113,12 @@ check_linux_m68k:
QEMU_LD_PREFIX=/usr/m68k-linux-gnu \
$(MAKE) ARCH=m68k CROSS_COMPILE=m68k-linux-gnu- check
+.PHONY: check_linux_sh4
+check_linux_sh4:
+ $(MAKE) clean
+ QEMU_LD_PREFIX=/usr/sh4-linux-gnu \
+ $(MAKE) ARCH=sh4 CROSS_COMPILE=sh4-linux-gnu- check
+
.PHONY: check_linux
check_linux:
$(MAKE) check_linux_amd64
@@ -130,10 +136,10 @@ check_linux:
$(MAKE) check_linux_alpha
$(MAKE) check_linux_hppa
$(MAKE) check_linux_m68k
+ $(MAKE) check_linux_sh4
# compiler+emulator not available or broken
#$(MAKE) check_linux_hppa64
#$(MAKE) check_linux_arc
- #$(MAKE) check_linux_sh4
.DEFAULT: setup
$(MAKE) -f scripts/makefile $<
@@ -144,7 +150,7 @@ setup:
@./scripts/gen-deps -p EJIT -c COMPILE_EJIT -b ejit "$(EJIT_SOURCES)"
CLEANUP := build deps.mk tests.md libejit.a examples/fib examples/loop \
- examples/*.d tests/test-*
+ examples/*.d tests/test-* coverage
CLEANUP_CMD :=
EJIT_SOURCES :=