summaryrefslogtreecommitdiff
path: root/crypto_aead/lilliputaei128v1/ref/Makefile
blob: 891d0e3329a1879fde568268393bf2d023a94429 (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

.PHONY: clean run-test-tweakey


nist_flags = -std=c99 -Wall -Wextra -Wshadow -fsanitize=address,undefined -O2


clean:
	-rm *.o
	-rm test-tweakey
	-rm tweakey_*.txt

%.o: %.c
	gcc -c $< $(nist_flags) -o $@

test-tweakey: test-tweakey.o tweakey.o
	gcc $^ $(nist_flags) -o $@

run-test-tweakey: test-tweakey
	./test-tweakey


test-tweakey.o: tweakey.h
tweakey.o: tweakey.h