aboutsummaryrefslogtreecommitdiffstats
path: root/test/monniaux/bitsliced-aes/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'test/monniaux/bitsliced-aes/Makefile')
-rw-r--r--test/monniaux/bitsliced-aes/Makefile12
1 files changed, 7 insertions, 5 deletions
diff --git a/test/monniaux/bitsliced-aes/Makefile b/test/monniaux/bitsliced-aes/Makefile
index 9073b602..65de1e2e 100644
--- a/test/monniaux/bitsliced-aes/Makefile
+++ b/test/monniaux/bitsliced-aes/Makefile
@@ -3,16 +3,18 @@ obj = $(src:.c=.o)
CC=k1-mbr-gcc
LDFLAGS = -Wl,--gc-sections
-CFLAGS = -O3 -fdata-sections -ffunction-sections -DUNROLL_TRANSPOSE
+CFLAGS = -O3 -fdata-sections -ffunction-sections # -DUNROLL_TRANSPOSE
name = bitslice
-$(name): _testbench $(obj)
- $(CC) $(LDFLAGS) -o $@ $(obj) $(LDFLAGS)
-
+%.s : %.c
+ $(CC) $(CFLAGS) -S -o $@ $<
test: _test $(obj)
- $(CC) $(LDFLAGS) -o $(name) $(obj) $(LDFLAGS)
+ $(CC) $(LDFLAGS) -o $(name) $(obj) ../clock.o $(LDFLAGS)
+
+$(name): _testbench $(obj)
+ $(CC) $(LDFLAGS) -o $@ $(obj) $(LDFLAGS)
footprint: _footprint $(obj)
$(CC) $(LDFLAGS) -o $(name) $(obj) $(LDFLAGS)