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

5
LFLAGS=-lm
Sebastian Renner committed
6

7
all: gcm
Sebastian Renner committed
8

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

12
.PHONY: clean
Sebastian Renner committed
13 14

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