From d6965a8072c5a768f798a4a58e525b695c702afd Mon Sep 17 00:00:00 2001 From: Haru Date: Sat, 5 Oct 2013 07:38:19 +0200 Subject: 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 --- src/login/Makefile.in | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) (limited to 'src/login') diff --git a/src/login/Makefile.in b/src/login/Makefile.in index b6b70a495..a97d17f68 100644 --- a/src/login/Makefile.in +++ b/src/login/Makefile.in @@ -31,21 +31,27 @@ CC = @CC@ export CC ##################################################################### -.PHONY: all sql login-server clean help +.PHONY: all sql login-server clean buildclean help all: sql sql: login-server -clean: +buildclean: + @echo " CLEAN login (build temp files)" + @rm -rf *.o obj_sql + +clean: buildclean @echo " CLEAN login" - @rm -rf *.o obj_sql ../../login-server@EXEEXT@ + @rm -rf ../../login-server@EXEEXT@ help: @echo "possible targets are 'login-server' 'all' 'clean' 'help'" @echo "'login-server' - login 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" ##################################################################### -- cgit v1.2.3-70-g09d2