mtgos-mtgos-3ds9/cross/gawk.mk

32 lines
494 B
Makefile
Raw Normal View History

2017-04-23 11:24:31 +00:00
GAWK_VERSION=4.1.4
gawk.tar.xz: gawk-$(GAWK_VERSION).tar.xz
mv $^ $@
gawk-$(GAWK_VERSION).tar.xz:
wget https://ftp.gnu.org/gnu/gawk/$@
gawk/: gawk-$(GAWK_VERSION)/
mv $^ $@
gawk-$(GAWK_VERSION)/: gawk.tar.xz
tar -xf $^
gawk-patch:
true
gawk-build: gawk-install
rm -rf builddir
gawk-configure: gawk/
mkdir builddir
cd builddir; \
../gawk/configure --prefix=$(CROSSPATH)
gawk-make: gawk-configure
cd builddir; \
$(MAKE)
gawk-install: gawk-make
cd builddir; \
$(MAKE) install