aboutsummaryrefslogtreecommitdiffstats
path: root/test/monniaux/float_mat/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'test/monniaux/float_mat/Makefile')
-rw-r--r--test/monniaux/float_mat/Makefile21
1 files changed, 21 insertions, 0 deletions
diff --git a/test/monniaux/float_mat/Makefile b/test/monniaux/float_mat/Makefile
new file mode 100644
index 00000000..0b66010a
--- /dev/null
+++ b/test/monniaux/float_mat/Makefile
@@ -0,0 +1,21 @@
+include ../rules.mk
+
+PRODUCTS=float_mat.host float_mat.gcc.k1c.out float_mat.ccomp.k1c.out float_mat.ccomp.k1c.s float_mat.gcc.k1c.s float_mat.gcc.k1c float_mat.ccomp.k1c
+
+all: $(PRODUCTS)
+
+float_mat.host: float_mat.c float_mat_run.c float_mat.h
+ $(CC) $(CFLAGS) float_mat.c float_mat_run.c -o $@
+
+float_mat.gcc.k1c.s float_mat.ccomp.k1c.s float_mat_run.gcc.k1c.s: float_mat.h
+
+float_mat.gcc.k1c: float_mat.gcc.k1c.o float_mat_run.gcc.k1c.o
+ $(K1C_CC) $(K1C_CFLAGS) $+ -o $@
+
+float_mat.ccomp.k1c: float_mat.ccomp.k1c.o float_mat_run.gcc.k1c.o
+ $(K1C_CCOMP) $(K1C_CCOMPFLAGS) $+ -o $@
+
+clean:
+ $(RM) -f $(PRODUCTS) float_mat.gcc.k1c.o float_mat.ccomp.k1c.o float_mat_run.gcc.k1c.o
+
+.PHONY: clean