diff options
Diffstat (limited to 'tests/Makefile')
-rw-r--r-- | tests/Makefile | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/tests/Makefile b/tests/Makefile index d7abae6..f803f6a 100644 --- a/tests/Makefile +++ b/tests/Makefile @@ -82,6 +82,13 @@ hello-arm: hello-arm.o hello-arm.o: hello-arm.c arm-linux-gcc -Wall -g -O2 -c -o $@ $< +# MIPS test +hello-mips: hello-mips.c + mips-linux-gnu-gcc -nostdlib -static -mno-abicalls -fno-PIC -mabi=32 -Wall -Wextra -g -O2 -o $@ $< + +hello-mipsel: hello-mips.c + mipsel-linux-gnu-gcc -nostdlib -static -mno-abicalls -fno-PIC -mabi=32 -Wall -Wextra -g -O2 -o $@ $< + # XXX: find a way to compile easily a test for each arch test2: @for arch in i386 arm armeb sparc ppc mips mipsel; do \ |