mirror of https://github.com/lukechilds/node.git
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
21 lines
510 B
21 lines
510 B
11 years ago
|
FAKETIME_REPO := git://github.com/wolfcw/libfaketime.git
|
||
|
FAKETIME_LOCAL_REPO := $(CURDIR)/faketime
|
||
|
FAKETIME_BRANCH := master
|
||
|
FAKETIME_BINARY := $(FAKETIME_PREFIX)/bin/faketime
|
||
|
|
||
|
.PHONY: faketime
|
||
|
|
||
|
faketime: $(FAKETIME_BINARY)
|
||
|
|
||
|
clean:
|
||
|
$(RM) -r $(FAKETIME_LOCAL_REPO)
|
||
|
|
||
|
$(FAKETIME_BINARY): $(FAKETIME_LOCAL_REPO)
|
||
|
cd $(FAKETIME_LOCAL_REPO) && \
|
||
|
git checkout $(FAKETIME_BRANCH) && \
|
||
|
PREFIX=$(FAKETIME_LOCAL_REPO)/src make
|
||
|
|
||
|
$(FAKETIME_LOCAL_REPO):
|
||
|
git clone $(FAKETIME_REPO) $(FAKETIME_LOCAL_REPO)
|
||
|
|