Makefile 464 Bytes
Newer Older
lwc-tester committed
1
CC=gcc
Enrico Pozzobon committed
2
CFLAGES=-std=c99 -Wall -Wextra -Wshadow -fsanitize=address,undefined -static-libasan -O2
lwc-tester committed
3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22
OBJS=genkat_aead.o photon.o encrypt.o

all: ref

ref: $(OBJS)
	$(CC) -o ref $(OBJS) $(CFLAGES)

genkat_aead.o: ../../../genkat_aead.c
	$(CC) -c ../../../genkat_aead.c $(CFLAGES) -I./

encrypt.o: encrypt.c
	$(CC) -o encrypt.o -c encrypt.c $(CFLAGES) -I../../../

photon.o: photon.c
	$(CC) -c photon.c $(CFLAGES)

.PHONY : clean

clean :
	rm $(OBJS)