From 2854f44ab8844112eb26b8f231e235ea0800f6f1 Mon Sep 17 00:00:00 2001 From: Anton Kirilov Date: Sat, 18 May 2019 15:19:16 +0100 Subject: [PATCH] Clean up the Makefile Also add a target for the benchmark. --- .gitignore | 1 + Makefile | 6 ++++-- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/.gitignore b/.gitignore index 5880b2a..2c045ad 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1,2 @@ +bench test-bin diff --git a/Makefile b/Makefile index 9e42298..00a2aa8 100644 --- a/Makefile +++ b/Makefile @@ -34,7 +34,9 @@ test: test-bin test-bin: picohttpparser.c picotest/picotest.c test.c $(CC) -Wall $(CFLAGS) $(LDFLAGS) -o $@ $^ +bench: bench.c picohttpparser.c + clean: - rm -f test-bin + rm -f bench test-bin -.PHONY: test +.PHONY: all clean test