Skip to content

Commit

Permalink
* Added 'distclean' makefile target.
Browse files Browse the repository at this point in the history
git-svn-id: http://eathena.googlecode.com/svn/trunk@15146 9c4de8d1-4af9-ca9b-867f-b47ac08f6c80
  • Loading branch information
ai4rei committed Jun 30, 2012
1 parent 4a80eac commit a326e62
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 1 deletion.
1 change: 1 addition & 0 deletions Changelog-Trunk.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
Date Added

2012/06/30
* Added 'distclean' makefile target. [Ai4rei]
* Added checking for sys/select.h and execinfo.h to configure (follow up to r15144). [Ai4rei]
2012/06/27
* Added static force-include src/common/config.vc.h to visual studio projects as counterpart to config.h from makefiles. [Ai4rei]
Expand Down
11 changes: 10 additions & 1 deletion Makefile.in
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ endif
char char_sql \
map map_sql \
tools converters plugins addons import save \
clean help
clean distclean help

all: $(ALL_DEPENDS)

Expand Down Expand Up @@ -114,6 +114,14 @@ clean:
@$(MAKE) -C src/tool $@
@$(MAKE) -C src/txt-converter $@

distclean: clean
@rm -rf config.log config.status
@rm -rf src/common/config.h
@rm -rf src/tool/Makefile src/plugins/Makefile src/txt-converter/Makefile
@rm -rf src/login/Makefile src/char/Makefile src/char_sql/Makefile src/map/Makefile
@rm -rf 3rdparty/mt19937ar/Makefile
@rm -rf src/common/Makefile Makefile

help:
@echo "most common targets are 'all' 'txt' 'sql' 'conf' 'clean' 'help'"
@echo "possible targets are:"
Expand All @@ -139,6 +147,7 @@ help:
@echo " 'map_sql' 'import' and 'save')"
@echo "'conf' - builds templated folders/files (targets 'import' and 'save')"
@echo "'clean' - cleans builds and objects"
@echo "'distclean' - cleans builds, objects and files generated by configure
@echo "'help' - outputs this message"

#####################################################################
Expand Down

0 comments on commit a326e62

Please sign in to comment.