aboutsummaryrefslogtreecommitdiff
path: root/makefile
diff options
context:
space:
mode:
authorEuAndreh <eu@euandre.org>2023-12-28 08:35:36 -0300
committerEuAndreh <eu@euandre.org>2025-03-20 16:17:06 -0300
commit379c9fe940213de3929bebb16596f62b9de0239f (patch)
tree4065828cc330f3051ad2486d17c0f71c63022441 /makefile
parentx (diff)
downloadsiphash-379c9fe940213de3929bebb16596f62b9de0239f.tar.gz
siphash-379c9fe940213de3929bebb16596f62b9de0239f.tar.xz
Remove support files
Diffstat (limited to 'makefile')
-rw-r--r--makefile48
1 files changed, 0 insertions, 48 deletions
diff --git a/makefile b/makefile
deleted file mode 100644
index 4dc5ede..0000000
--- a/makefile
+++ /dev/null
@@ -1,48 +0,0 @@
-CC=gcc
-CFLAGS=-Wall --std=c99
-SRC=siphash.c halfsiphash.c test.c testmain.c
-HEADERS=siphash.h halfsiphash.h
-BIN=test debug vectors
-
-ifneq ($(cROUNDS),)
-CFLAGS:=$(CFLAGS) -DcROUNDS=$(cROUNDS)
-endif
-
-ifneq ($(dROUNDS),)
-CFLAGS:=$(CFLAGS) -DdROUNDS=$(dROUNDS)
-endif
-
-.PHONY: analyze sanitize lint format clean
-
-
-all: $(BIN)
-
-everything: clean format lint analyze sanitize test vectors
-
-test: $(SRC)
- $(CC) $(CFLAGS) $^ -o $@
-
-debug: $(SRC)
- $(CC) $(CFLAGS) -g $^ -o $@ -DDEBUG_SIPHASH
-
-vectors: $(SRC)
- $(CC) $(CFLAGS) $^ -o $@ -DGETVECTORS
-
-analyze: $(SRC)
- scan-build $(CC) $(CFLAGS) $^ -o $@
- rm -f $@
-
-sanitize: $(SRC)
- $(CC) -fsanitize=address,undefined $(CFLAGS) $^ -o $@
- ./$@
- rm -f $@
-
-lint: $(SRC) $(HEADERS)
- cppcheck --std=c99 $^
-format:
- clang-format -style="{BasedOnStyle: llvm, IndentWidth: 4}" \
- -i *.c *.h
-clean:
- rm -f *.o $(BIN) analyze sanitize
-
-