clean rule for global makefile
authorKonrad Rosenbaum <konrad@silmor.de>
Mon, 19 Dec 2011 12:34:44 +0000 (13:34 +0100)
committerKonrad Rosenbaum <konrad@silmor.de>
Mon, 19 Dec 2011 12:34:44 +0000 (13:34 +0100)
Makefile

index 6f22cba..059289d 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -9,7 +9,7 @@ DOXYGEN = doxygen
 
 all: prewoc woc qtbase doc
 
-.PHONY: prewoc woc qtbase doc
+.PHONY: prewoc woc qtbase doc clean
 
 prewoc:
        cd woc && $(QMAKE) -o Makefile.prewoc CONFIG+=prewoc
@@ -28,3 +28,10 @@ doc:
        cd woc && $(DOXYGEN)
        cd qtbase && $(DOXYGEN)
        cd phpbase && $(DOXYGEN)
+
+clean:
+       -rm -rf woc/woc woc/woc.exe woc/woc.app woc/prewoc* woc/.ctmp
+       -rm -rf vinfo
+       -rm -rf qtbase/.ctmp qtbase/libqwbase*
+       -rm -rf doc/phpbase doc/qtbase doc/woc
+       -rm -rf cgi2scgi/cgi2scgi cgi2scgi/cgi2scgi.exe cgi2scgi/cgi2scgi.app
\ No newline at end of file