added build instructions and example to README

Fri, 28 Dec 2012 17:15:23 +0100

author
Mike Becker <universe@uap-core.de>
date
Fri, 28 Dec 2012 17:15:23 +0100
changeset 38
7ded3ec4c417
parent 37
cf65b0ddd030
child 39
4761bc1b0278

added build instructions and example to README

README file | annotate | diff | comparison | revisions
     1.1 --- a/README	Fri Dec 28 17:00:38 2012 +0100
     1.2 +++ b/README	Fri Dec 28 17:15:23 2012 +0100
     1.3 @@ -3,9 +3,11 @@
     1.4                               Copyright (C) 2013 Mike Becker
     1.5  
     1.6  Contents:
     1.7 -1) About ................................................................... 11
     1.8 -2) Contact Information ..................................................... 23
     1.9 -3) License ................................................................. 29
    1.10 +1) About ................................................................... 13
    1.11 +2) Build instructions ...................................................... 25
    1.12 +3) Usage example ........................................................... 41
    1.13 +4) Contact Information ..................................................... 50
    1.14 +5) License ................................................................. 56
    1.15  
    1.16  
    1.17  1) About ______________________________________________________________________
    1.18 @@ -20,13 +22,38 @@
    1.19  
    1.20  Type cline --help for further information.
    1.21  
    1.22 -2) Contact Information ________________________________________________________
    1.23 +2) Build instructions _________________________________________________________
    1.24 +
    1.25 +To build cline with gcc navigate to the root directory of the project and type:
    1.26 +  make
    1.27 +
    1.28 +To rebuild cline type:
    1.29 +  make clean all
    1.30 +
    1.31 +To install cline type (as root):
    1.32 +  make install
    1.33 +
    1.34 +If you build cline with mingw under Windows, you need to type:
    1.35 +  make CONF=mingw
    1.36 +or
    1.37 +  make CONF=mingw clean all
    1.38 +
    1.39 +3) Example usage ______________________________________________________________
    1.40 +
    1.41 +You can test cline right away with the cline project files. Just type:
    1.42 +  cline -rms .c,.h --exclude-cstyle-comments
    1.43 +
    1.44 +This will find any .c or .h file recursively in the cline project folder and
    1.45 +won't display other files (-m option). It will also skip comments when counting
    1.46 +lines.
    1.47 +
    1.48 +4) Contact Information ________________________________________________________
    1.49  
    1.50  You can contact us by either one of the following mail addresses:
    1.51    universe@uap-core.de   -   Direct developer contact
    1.52    info@uap-core.de       -   Generic mail address
    1.53  
    1.54 -3) License ____________________________________________________________________
    1.55 +5) License ____________________________________________________________________
    1.56  
    1.57  Copyright 2013 Mike Becker. All rights reserved.
    1.58  
    1.59 @@ -50,4 +77,4 @@
    1.60  CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
    1.61  OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
    1.62  OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 
    1.63 -
    1.64 + 
    1.65 \ No newline at end of file

mercurial