From 8388cbe24faceb3ed5b2f55a7c168ab48449f0c8 Mon Sep 17 00:00:00 2001 From: JP Aumasson Date: Fri, 16 Dec 2016 09:04:05 +0100 Subject: readme --- makefile | 21 ++++++--------------- 1 file changed, 6 insertions(+), 15 deletions(-) (limited to 'makefile') diff --git a/makefile b/makefile index af36414..7847e2a 100644 --- a/makefile +++ b/makefile @@ -1,27 +1,18 @@ CC=gcc -CFLAGS=-Wall -SRC=siphash24.c main.c -BIN=siphash24_test siphash24_debug -BIN_DOUBLE=siphash24_test_double siphash24_debug_double +CFLAGS=-Wall +SRC=siphash.c halfsiphash.c test.c +BIN=test debug all: $(BIN) -siphash24_test: $(SRC) +test: $(SRC) $(CC) $(CFLAGS) $^ -o $@ -siphash24_debug: $(SRC) +debug: $(SRC) $(CC) $(CFLAGS) $^ -o $@ -DDEBUG -double: $(BIN_DOUBLE) - -siphash24_test_double: $(SRC) - $(CC) $(CFLAGS) $^ -o $@ -DDOUBLE - -siphash24_debug_double: $(SRC) - $(CC) $(CFLAGS) $^ -o $@ -DDOUBLE -DDEBUG - clean: - rm -f *.o $(BIN) $(BIN_DOUBLE) + rm -f *.o $(BIN) dist: clean cd ..; \ -- cgit v1.2.3