summaryrefslogtreecommitdiff
path: root/bench
diff options
context:
space:
mode:
Diffstat (limited to 'bench')
-rw-r--r--bench/Makefile34
-rw-r--r--bench/bench.c0
2 files changed, 0 insertions, 34 deletions
diff --git a/bench/Makefile b/bench/Makefile
deleted file mode 100644
index 423b9d3..0000000
--- a/bench/Makefile
+++ /dev/null
@@ -1,34 +0,0 @@
-CC=gcc
-CFLAGS=-Wall -Wextra -std=c11 -O2 \
- -I../include \
- -I../include/tinyff \
- -I../include/ext
-
-OUTDIR=dist
-TARGET=$(OUTDIR)/bench
-FORMATS ?= image
-
-COMMON_SRC := bench.c
-
-FORMAT_SRC := $(foreach fmt,$(FORMATS),\
- $(shell find ../src/format/$(fmt) -name "*.c" 2>/dev/null))
-
-SRC := $(COMMON_SRC) $(FORMAT_SRC)
-
-OBJ := $(patsubst %.c,$(OUTDIR)/%.o,$(SRC))
-
-LIB=../dist/libtinyff.a
-
-all: $(TARGET)
-
-$(TARGET): $(OBJ)
- $(CC) $(CFLAGS) $^ $(LIB) -o $@
-
-$(OUTDIR)/%.o: %.c
- mkdir -p $(dir $@)
- $(CC) $(CFLAGS) -c $< -o $@
-
-clean:
- rm -rf $(OUTDIR)
-
-.PHONY: all clean
diff --git a/bench/bench.c b/bench/bench.c
deleted file mode 100644
index e69de29..0000000
--- a/bench/bench.c
+++ /dev/null