aboutsummaryrefslogtreecommitdiffstats
path: root/test/mppa/sort
diff options
context:
space:
mode:
authorCyril SIX <cyril.six@kalray.eu>2018-04-26 16:44:37 +0200
committerCyril SIX <cyril.six@kalray.eu>2018-04-26 16:44:37 +0200
commit155745466c01ad9485027689409ab986f7ebb207 (patch)
tree7c66f830e5f6890f9a7bfefef6165f93c80fa4b6 /test/mppa/sort
parenta2cc41ebb00e45792fc2d0ef3e25f77994cf826f (diff)
downloadcompcert-kvx-155745466c01ad9485027689409ab986f7ebb207.tar.gz
compcert-kvx-155745466c01ad9485027689409ab986f7ebb207.zip
MPPA - mmult and sort Makefile now check on ccomp version
Diffstat (limited to 'test/mppa/sort')
-rw-r--r--test/mppa/sort/Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/test/mppa/sort/Makefile b/test/mppa/sort/Makefile
index 4a118875..f94fe6b8 100644
--- a/test/mppa/sort/Makefile
+++ b/test/mppa/sort/Makefile
@@ -1,4 +1,5 @@
PRNG=../lib/prng.c
+CCOMP=../../../ccomp
ALL= insertion-test-x86 insertion-test-k1c\
selection-test-x86 selection-test-k1c\
@@ -20,7 +21,7 @@ test-x86: selection.c merge.c insertion.c test.c $(PRNG)
test-k1c: selection.c merge.c insertion.c test.c $(PRNG)
k1-gcc -g -O2 -std=c99 $^ -o $@
-%.s: %.c
+%.s: %.c $(CCOMP)
ccomp -O2 -S $< -o $@
test-ccomp: selection.s merge.s insertion.s test.s $(subst .c,.s,$(PRNG))