diff options
Diffstat (limited to 'test/monniaux/bitsliced-aes/Makefile.ccomp')
-rw-r--r-- | test/monniaux/bitsliced-aes/Makefile.ccomp | 40 |
1 files changed, 0 insertions, 40 deletions
diff --git a/test/monniaux/bitsliced-aes/Makefile.ccomp b/test/monniaux/bitsliced-aes/Makefile.ccomp deleted file mode 100644 index beb0ad39..00000000 --- a/test/monniaux/bitsliced-aes/Makefile.ccomp +++ /dev/null @@ -1,40 +0,0 @@ -src = $(wildcard *.c) -obj = $(src:.c=.o) - -LDFLAGS = -Wl,--gc-sections -CFLAGS = -O3 -D_DEFAULT_SOURCE # -DUNROLL_TRANSPOSE -# CC=ccomp -CC=../../../ccomp -name = bitslice - -%.s : %.c - $(CC) $(CFLAGS) -S -o $@ $< - -test: _test $(obj) - $(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) - - -_test: tests/tests.c - $(eval obj+=$@.o) - $(eval CFLAGS+= -DRUN_TESTS=1) - $(CC) -c $(CFLAGS) -o $@.o $^ - -_footprint: tests/tests.c - $(eval obj+=$@.o) - $(eval CFLAGS+= -DRUN_TESTS=1 -DTEST_FOOTPRINT=1) - $(CC) -c $(CFLAGS) -o $@.o $^ - -_testbench: testbench/app.c - $(eval obj+=_testbench.o) - $(eval LDFLAGS+= -lcrypto) - $(CC) -c $(CFLAGS) -o $@.o $^ - - -clean: - rm -f $(obj) _test.o _footprint.o _testbench.o $(name) |