aboutsummaryrefslogtreecommitdiffstats
path: root/test/monniaux/binary_search
diff options
context:
space:
mode:
authorCyril SIX <cyril.six@kalray.eu>2019-05-03 17:59:10 +0200
committerCyril SIX <cyril.six@kalray.eu>2019-05-03 17:59:10 +0200
commit24442c874a0e45f6e93965919ff2b3594aca43e5 (patch)
tree6abf053b6d1d74810d5b564f6f4325e923bb08e2 /test/monniaux/binary_search
parent452da0d77523d15830d7a78198092d72822063a6 (diff)
downloadcompcert-kvx-24442c874a0e45f6e93965919ff2b3594aca43e5.tar.gz
compcert-kvx-24442c874a0e45f6e93965919ff2b3594aca43e5.zip
[#120] - Makefile generator + replaced binary_search/Makefile : it works
Diffstat (limited to 'test/monniaux/binary_search')
-rw-r--r--test/monniaux/binary_search/Makefile30
-rw-r--r--test/monniaux/binary_search/make.proto1
2 files changed, 1 insertions, 30 deletions
diff --git a/test/monniaux/binary_search/Makefile b/test/monniaux/binary_search/Makefile
deleted file mode 100644
index ea34f1bc..00000000
--- a/test/monniaux/binary_search/Makefile
+++ /dev/null
@@ -1,30 +0,0 @@
-include ../rules.mk
-
-PRODUCTS=binary_search.gcc.host.out binary_search.ccomp.host.out \
- binary_search.gcc.k1c.out binary_search.ccomp.k1c.out \
- binary_search.gcc.o1.k1c.out \
- binary_search.gcc.k1c.s binary_search.ccomp.k1c.s
-
-all: $(PRODUCTS)
-
-binary_search.gcc.host.s binary_search.ccomp.host.s binary_search.gcc.k1c.s binary_search.ccomp.k1c.s : ../clock.h
-
-binary_search.ccomp.host: binary_search.ccomp.host.o ../clock.gcc.host.o
- $(CCOMP) $(CCOMPFLAGS) $+ -o $@
-
-binary_search.gcc.host: binary_search.gcc.host.o ../clock.gcc.host.o
- $(CC) $(CFLAGS) $+ -o $@
-
-binary_search.gcc.k1c: binary_search.gcc.k1c.o ../clock.gcc.k1c.o
- $(K1C_CC) $(K1C_CFLAGS) $+ -o $@
-
-binary_search.gcc.o1.k1c: binary_search.gcc.o1.k1c.o ../clock.gcc.k1c.o
- $(K1C_CC) $(K1C_CFLAGS_O1) $+ -o $@
-
-binary_search.ccomp.k1c: binary_search.ccomp.k1c.o ../clock.gcc.k1c.o
- $(K1C_CCOMP) $(K1C_CCOMPFLAGS) $+ -o $@
-
-clean:
- -rm -f *.o *.s *.k1c
-
-.PHONY: clean
diff --git a/test/monniaux/binary_search/make.proto b/test/monniaux/binary_search/make.proto
new file mode 100644
index 00000000..19501e78
--- /dev/null
+++ b/test/monniaux/binary_search/make.proto
@@ -0,0 +1 @@
+binary_search