Makefile 238 Bytes
Newer Older
Sebastian Renner committed
1
CC=gcc
2 3
NISTGCCFLAGS=-std=c99 -Wall -Wextra -Wshadow -O2 
LFLAGS=-lm
Sebastian Renner committed
4

5
all: gcm
Sebastian Renner committed
6

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

10
.PHONY: clean
Sebastian Renner committed
11 12

clean:
13
	rm -rf gcm
Sebastian Renner committed
14