pwd=$(shell cd) all: cd build && $(MAKE) install: cd build && $(MAKE) install clean: cd build && $(MAKE) clean do_configure: build cd build && ../configure --prefix=$(pwd)/stage \ --enable-languages=c++ \ --disable-multilib \ --with-optimization=generic build: mkdir build