ORXONOX_DIRS = ./core \ ./gui \ ./console all: orxonox orxonox: $(ORXONOX_DIRS) finish $(ORXONOX_DIRS): FORCE cd $@; $(MAKE) finish: @echo "" @mv -vf ./core/orxonox ./bin @echo "" @echo "now cd to ./bin and run orxonox" @echo "" clean: for i in $(ORXONOX_DIRS); do ( cd $$i ; $(MAKE) clean ) ; done -rm -f ./bin/* -rm -f *~ FORCE: