repo/gcc/Makefile

11 lines
242 B
Makefile

prepare:
git clone git://gcc.gnu.org/git/gcc.git
cd gcc
gcc:
mkdir build
cd build
./configure --prefix=/usr --enable-languages=c,c++,d,fortran,go,objc,obj-c++
install:
make install DESTDIR="${PREFIX}"
uninstall:
rm -rf /usr/bin/gcc