3rdparty: add download target
This commit is contained in:
parent
47ec907262
commit
6e0fbc47ec
12
3rdparty/Makefile
vendored
12
3rdparty/Makefile
vendored
@ -67,6 +67,11 @@ RECOILARCH=$(RECOIL).tar.gz
|
|||||||
RECOILURL=https://downloads.sourceforge.net/project/recoil/recoil/$(RECOILVER)/$(RECOILARCH)
|
RECOILURL=https://downloads.sourceforge.net/project/recoil/recoil/$(RECOILVER)/$(RECOILARCH)
|
||||||
RECOILURLALT=http://nanard.free.fr/grafx2/$(RECOILARCH)
|
RECOILURLALT=http://nanard.free.fr/grafx2/$(RECOILARCH)
|
||||||
|
|
||||||
|
ARCHIVES = $(addprefix archives/, $(SDLARCH) $(SDLIMAGEARCH) $(SDLTTFARCH) \
|
||||||
|
$(SDL2ARCH) $(SDL2IMAGEARCH) $(SDL2TTFARCH) $(LIBPNGARCH) \
|
||||||
|
$(JPEGARCH) $(LIBTIFFARCH) $(ZLIBARCH) $(FREETYPEARCH) \
|
||||||
|
$(LUAARCH) $(RECOILARCH))
|
||||||
|
|
||||||
PREFIX = $(PWD)/usr
|
PREFIX = $(PWD)/usr
|
||||||
|
|
||||||
MKDIR = mkdir -p
|
MKDIR = mkdir -p
|
||||||
@ -106,7 +111,10 @@ HOST = $(shell $(CC) -dumpmachine)
|
|||||||
#HOST = i686-pc-mingw32
|
#HOST = i686-pc-mingw32
|
||||||
DATE = $(shell date -R)
|
DATE = $(shell date -R)
|
||||||
|
|
||||||
.PHONY: all clean clean_archives clean_all libs libpng libsdl libsdl_image libsdl_ttf libjpeg libtiff zlib freetype lua recoil
|
.PHONY: all clean clean_archives clean_all download libs libpng \
|
||||||
|
libsdl libsdl_image libsdl_ttf \
|
||||||
|
libsdl2 libsdl2_image libsdl2_ttf \
|
||||||
|
libjpeg libtiff zlib freetype lua recoil
|
||||||
|
|
||||||
all: libs
|
all: libs
|
||||||
|
|
||||||
@ -120,6 +128,8 @@ clean:
|
|||||||
clean_archives:
|
clean_archives:
|
||||||
$(RM) -r archives
|
$(RM) -r archives
|
||||||
|
|
||||||
|
download: $(ARCHIVES)
|
||||||
|
|
||||||
ifeq ($(API), sdl)
|
ifeq ($(API), sdl)
|
||||||
libs: libpng libsdl libsdl_image libsdl_ttf lua
|
libs: libpng libsdl libsdl_image libsdl_ttf lua
|
||||||
else
|
else
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user