Makefile 279 Bytes
Newer Older
Sebastian Renner committed
1
CC=gcc
Enrico Pozzobon committed
2 3
NISTGCCFLAGS=-std=c99 -Wall -Wextra -Wshadow -fsanitize=address,undefined -O2

4
LFLAGS=-lm
Sebastian Renner committed
5

6
all: gcm
Sebastian Renner committed
7

8
gcm: gcm.c genkat_aead.c aes.c cipher.c cipher_wrap.c platform.c platform_util.c
9
	$(CC) $(NISTGCCFLAGS) -o $@ $^ $(LFLAGS)
Sebastian Renner committed
10

11
.PHONY: clean
Sebastian Renner committed
12 13

clean:
Enrico Pozzobon committed
14
	rm -rf *.o
15
	rm -rf gcm
Sebastian Renner committed
16