CC=gcc CFLAGES=-std=c99 -Wall -Wextra -Wshadow -fsanitize=address,undefined -fuse-ld=gold -O2 OBJS=genkat_aead.o encrypt.o photon.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)