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