diff options
author | Haru <haru@dotalux.com> | 2013-10-05 07:38:19 +0200 |
---|---|---|
committer | Haru <haru@dotalux.com> | 2013-10-05 07:38:19 +0200 |
commit | d6965a8072c5a768f798a4a58e525b695c702afd (patch) | |
tree | e0b542aefe9bb1b7d9ab5d76644c4e1bad72f948 /src/char/Makefile.in | |
parent | 62c5e65d28833c1068d195778c0e3a710acaa104 (diff) | |
download | hercules-d6965a8072c5a768f798a4a58e525b695c702afd.tar.gz hercules-d6965a8072c5a768f798a4a58e525b695c702afd.tar.bz2 hercules-d6965a8072c5a768f798a4a58e525b695c702afd.tar.xz hercules-d6965a8072c5a768f798a4a58e525b695c702afd.zip |
Added 'buildclean' target to all makefiles
- By invoking 'make buildclean', you can clean up all the build
intermediate (object) files, without deleting any of the built
executables and plugins.
- To delete everything, use 'make clean', as you've always done.
Signed-off-by: Haru <haru@dotalux.com>
Diffstat (limited to 'src/char/Makefile.in')
-rw-r--r-- | src/char/Makefile.in | 12 |
1 files changed, 9 insertions, 3 deletions
diff --git a/src/char/Makefile.in b/src/char/Makefile.in index 02759b32e..4bb7f3fb8 100644 --- a/src/char/Makefile.in +++ b/src/char/Makefile.in @@ -34,21 +34,27 @@ CC = @CC@ export CC ##################################################################### -.PHONY: all sql char-server clean help +.PHONY: all sql char-server clean buildclean help all: sql sql: char-server -clean: +buildclean: + @echo " CLEAN char (build temp files)" + @rm -rf *.o obj_sql + +clean: buildclean @echo " CLEAN char" - @rm -rf *.o obj_sql ../../char-server@EXEEXT@ + @rm -rf ../../char-server@EXEEXT@ help: @echo "possible targets are 'char-server' 'all' 'clean' 'help'" @echo "'char-server' - char server" @echo "'all' - builds all above targets" @echo "'clean' - cleans builds and objects" + @echo "'buildclean' - cleans build temporary (object) files, without deleting the" + @echo " executables" @echo "'help' - outputs this message" ##################################################################### |