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

all: ref

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

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

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

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

.PHONY : clean

clean :
Enrico Pozzobon committed
22
	rm $(OBJS)