DMD=$(PWD)/dmd/src/dmd #DRUNTIME_PATH=$(PWD)/druntime MODEL=32 all: init build test update: dmd_update druntime_update phobos_update build: dmd_build druntime_build phobos_build test: druntime_test phobos_test dmd_test clean: dmd_clean druntime_clean phobos_clean nuke: rm -rf dmd rm -rf druntime rm -rf phobos dmd_update: cd dmd; git pull origin druntime_update: cd druntime; git pull origin phobos_update: cd phobos; git pull origin dmd_build: $(MAKE) -C dmd/src -j3 -f linux.mak druntime_build: $(MAKE) DMD=$(DMD) -C druntime -f posix.mak phobos_build: $(MAKE) DMD=$(DMD) -C phobos -f posix.mak dmd_test: $(MAKE) -C dmd/test -j3 druntime_test: $(MAKE) DMD=$(DMD) -C druntime -f posix.mak unittest phobos_test: $(MAKE) DMD=$(DMD) -C phobos -f posix.mak unittest dmd_clean: $(MAKE) -C dmd/src -f linux.mak clean $(MAKE) -C dmd/test clean druntime_clean: $(MAKE) -C druntime -f posix.mak clean phobos_clean: $(MAKE) -C phobos -f posix.mak clean dmd: dmd_clean dmd_build druntime: druntime_clean druntime_build druntime_test phobos: phobos_clean phobos_build phobos_test dmd/.git: git clone git://github.com/D-Programming-Language/dmd dmd cp dmd.conf dmd/src druntime/.git: git clone git://github.com/D-Programming-Language/druntime druntime phobos/.git: git clone git://github.com/D-Programming-Language/phobos phobos init: dmd/.git druntime/.git phobos/.git