Skip to content

Commit fbb7764

Browse files
committed
Clean up the Makefile
Also add a target for the benchmark.
1 parent ef425b1 commit fbb7764

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
bench
12
test-bin
23
xcuserdata
34
*.xccheckout

Makefile

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,9 @@ test: test-bin
3434
test-bin: picohttpparser.c picotest/picotest.c test.c
3535
$(CC) -Wall $(CFLAGS) $(LDFLAGS) -o $@ $^
3636

37+
bench: bench.c picohttpparser.c
38+
3739
clean:
38-
rm -f test-bin
40+
rm -f bench test-bin
3941

40-
.PHONY: test
42+
.PHONY: all clean test

0 commit comments

Comments
 (0)