Add 'make distclean' - remove binaries

This commit is contained in:
Stas Degteff 2010-11-09 22:02:00 +00:00
parent 7f41e765d2
commit 2d688e6a3e

View File

@ -23,6 +23,9 @@ clean:
@$(SHELL) -ec 'for i in $(EXECUTABLES); do cd $$i; $(MAKE) clean; cd ..; done'
@-rm -f $(OBJPATH)/$(PLATFORM)/source.lst
distclean:
@-cd $(BIN); rm -f $(EXECUTABLES)
dirs:
@mkdir -p $(BIN) $(LIBPATH)/$(PLATFORM)
@mkdir -p $(foreach dir,$(LIBS),$(OBJPATH)/$(PLATFORM)/$(dir))