repo/make/build

12 lines
268 B
Text
Executable file

wget https://ftp.gnu.org/gnu/make/make-4.3.tar.gz
tar -xf make-4.3.tar.gz
cd make-4.3
export CFLAGS="$CFLAGS -static"
./configure --prefix=/usr
make
gzip lib/make.1 lib/make.1.gz
cp make $1/usr/bin/make
cp doc/make.1.gz $1/usr/share/man/man1/
cp -npr /lib/* $1/lib