Permalink
Browse files

PROVE from env. for `make test PROVE="prove -v"` or whatever

  • Loading branch information...
1 parent 3a2bdad commit 2d3bb95d60a79b8db193c6df28339780eae8b1cd @typester typester committed Nov 17, 2011
Showing with 5 additions and 4 deletions.
  1. +5 −4 Makefile
View
@@ -1,14 +1,15 @@
CC?=gcc
+PROVE?=prove
test: build_request build_response
- prove -e '/bin/sh -c' ./test_request
- prove -e '/bin/sh -c' ./test_response
+ $(PROVE) -e '/bin/sh -c' ./test_request
+ $(PROVE) -e '/bin/sh -c' ./test_response
test_request: build_request
- prove -e '/bin/sh -c' ./test_request
+ $(PROVE) -e '/bin/sh -c' ./test_request
test_response: build_request
- prove -e '/bin/sh -c'./test_response
+ $(PROVE) -e '/bin/sh -c'./test_response
build_request: picohttpparser.o test.o
$(CC) $(LDFLAGS) -o test_request $^

0 comments on commit 2d3bb95

Please sign in to comment.