Skip to content

Commit a7d4e3a

Browse files
committed
Parameterize wget.
Some environments provide Curl instead.
1 parent e9b73e3 commit a7d4e3a

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

Makefile

+2-1
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ ta_lua = $(ta_src)/lua/src
77
CXX = g++
88
CXXFLAGS = -std=c++11 -pedantic -fPIC -Wall
99
LDFLAGS = -Wl,--retain-symbols-file -Wl,$(ta_src)/lua.sym
10+
WGET = wget -O $@
1011

1112
all: diff.so diff.dll diff-curses.dll diffosx.so
1213
clean: ; rm -f *.o *.so *.dll
@@ -55,7 +56,7 @@ luadoc: init.lua
5556
deps: diff_match_patch.h
5657

5758
diff_match_patch_zip = 7f95b37e554453262e2bcda830724fc362614103.zip
58-
$(diff_match_patch_zip): ; wget https://github.com/leutloff/diff-match-patch-cpp-stl/archive/$@
59+
$(diff_match_patch_zip): ; $(WGET) https://github.com/leutloff/diff-match-patch-cpp-stl/archive/$@
5960
diff_match_patch.h: | $(diff_match_patch_zip) ; unzip -j $| "*/$@"
6061

6162
# Releases.

0 commit comments

Comments
 (0)