Initial commit

Nothing's working yet, only some supporting code has been put in place.
This commit is contained in:
2014-09-07 17:28:10 +02:00
commit b418bfe22c
10 changed files with 3164 additions and 0 deletions

21
Makefile Normal file
View File

@@ -0,0 +1,21 @@
SHELL = /bin/sh
CC = clang
# -Wunused-function is pretty annoying here, as everything is static
CFLAGS = -std=c99 -Wall -Wextra -Wno-unused-function -ggdb
# -lpthread is only there for debugging (gdb & errno)
# -lrt is only for glibc < 2.17
LDFLAGS = `pkg-config --libs libssl` -lpthread -lrt -ldl
.PHONY: all clean
.SUFFIXES:
targets = ponymap
all: $(targets)
clean:
rm -f $(targets)
ponymap: ponymap.c utils.c siphash.c
$(CC) ponymap.c siphash.c -o $@ $(CFLAGS) $(LDFLAGS)