Skip to content

Commit

Permalink
Clean up the Makefile
Browse files Browse the repository at this point in the history
Also add a target for the benchmark.
  • Loading branch information
volyrique committed Dec 28, 2020
1 parent ef425b1 commit fbb7764
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
bench
test-bin
xcuserdata
*.xccheckout
Expand Down
6 changes: 4 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit fbb7764

Please sign in to comment.