Skip to content

Commit

Permalink
readme.md: simple reformatting
Browse files Browse the repository at this point in the history
  • Loading branch information
danmar committed Jun 6, 2012
1 parent 8bd416b commit 10a91b5
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -61,17 +61,21 @@ http://software-download.name/pcre-library-windows/
### gnu make ###

To build Cppcheck with rules (pcre dependency):

make HAVE_RULES=yes

To build Cppcheck without rules (no dependencies):

make

### g++ (for experts) ###

If you just want to build Cppcheck without dependencies then you can use this command:

g++ -o cppcheck -Ilib cli/*.cpp lib/*.cpp

If you want to use --rule and --rule-file then dependencies are needed:

g++ -o cppcheck -lpcre -DHAVE_RULES -Ilib -Iexternals cli/*.cpp lib/*.cpp externals/tinyxml/*.cpp

### mingw ###
Expand All @@ -86,5 +90,5 @@ If you want to use --rule and --rule-file then dependencies are needed:

## Webpage ##

http://cppcheck.sourceforge.net/
http://cppcheck.sourceforge.net/

0 comments on commit 10a91b5

Please sign in to comment.