aboutsummaryrefslogtreecommitdiffstats
path: root/test/monniaux/ternary/Makefile
blob: 7b1fe1557479a30f98b429926979dfed4bea4df0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
include ../rules.mk

PRODUCTS=ternary.gcc.host.out ternary.ccomp.host.out \
	ternary.gcc.o1.k1c.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.gcc.o1.k1c: ternary.gcc.o1.k1c.o ../clock.gcc.k1c.o
	$(K1C_CC) $(K1C_CFLAGS_O1) $+ -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