aboutsummaryrefslogtreecommitdiffstats
path: root/test/monniaux/ternary/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'test/monniaux/ternary/Makefile')
-rw-r--r--test/monniaux/ternary/Makefile26
1 files changed, 26 insertions, 0 deletions
diff --git a/test/monniaux/ternary/Makefile b/test/monniaux/ternary/Makefile
new file mode 100644
index 00000000..b051b397
--- /dev/null
+++ b/test/monniaux/ternary/Makefile
@@ -0,0 +1,26 @@
+include ../rules.mk
+
+PRODUCTS=ternary.gcc.host.out ternary.ccomp.host.out \
+ ternary.gcc.k1c.out ternary.ccomp.k1c.out \
+ ternary.gcc.k1c.s ternary.ccomp.k1c.s
+
+all: $(PRODUCTS)
+
+ternary.gcc.host.s ternary.ccomp.host.s ternary.gcc.k1c.s ternary.ccomp.k1c.s : ../clock.h
+
+ternary.ccomp.host: ternary.ccomp.host.o ../clock.gcc.host.o
+ $(CCOMP) $(CCOMPFLAGS) $+ -o $@
+
+ternary.gcc.host: ternary.gcc.host.o ../clock.gcc.host.o
+ $(CC) $(CFLAGS) $+ -o $@
+
+ternary.gcc.k1c: ternary.gcc.k1c.o ../clock.gcc.k1c.o
+ $(K1C_CC) $(K1C_CFLAGS) $+ -o $@
+
+ternary.ccomp.k1c: ternary.ccomp.k1c.o ../clock.gcc.k1c.o
+ $(K1C_CCOMP) $(K1C_CCOMPFLAGS) $+ -o $@
+
+clean:
+ -rm -f *.o *.s *.k1c
+
+.PHONY: clean