From 323c06990fffb1b3e68cc0abff2d9e095484bc61 Mon Sep 17 00:00:00 2001 From: David Monniaux Date: Thu, 7 Feb 2019 15:17:27 +0100 Subject: fix rules --- test/monniaux/rules.mk | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) (limited to 'test/monniaux/rules.mk') diff --git a/test/monniaux/rules.mk b/test/monniaux/rules.mk index 19a11c5f..a83a9b2e 100644 --- a/test/monniaux/rules.mk +++ b/test/monniaux/rules.mk @@ -8,12 +8,18 @@ K1C_CCOMPFLAGS=-O3 -Wall -fno-unprototyped EXECUTE=k1-cluster --syscall=libstd_scalls.so -- -%.host.gcc.o : %.c +%.gcc.host.o : %.gcc.host.s $(CC) $(CFLAGS) -c -o $@ $< -%.host.ccomp.o : %.c +%.ccomp.host.o : %.ccomp.host.s $(CCOMP) $(CCOMPFLAGS) -c -o $@ $< +%.gcc.host.s : %.c + $(CC) $(CFLAGS) -S -o $@ $< + +%.ccomp.host.s : %.c + $(CCOMP) $(CCOMPFLAGS) -S -o $@ $< + %.gcc.k1c.s: %.c $(K1C_CC) $(K1C_CFLAGS) -S $< -o $@ @@ -26,12 +32,6 @@ EXECUTE=k1-cluster --syscall=libstd_scalls.so -- %.ccomp.k1c.o: %.ccomp.k1c.s $(K1C_CCOMP) $(K1C_CCOMPFLAGS) -c $< -o $@ -%.gcc.host.o: %.c - $(CC) $(CFLAGS) -c $< -o $@ - -%.ccomp.host.o: %.c - $(CCOMP) $(CCOMPFLAGS) -c $< -o $@ - %.k1c.out : %.k1c k1-cluster --cycle-based -- $< |tee $@ -- cgit