Add 'make distclean' - remove binaries
This commit is contained in:
parent
7f41e765d2
commit
2d688e6a3e
3
Makefile
3
Makefile
@ -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))
|
||||
|
Reference in New Issue
Block a user