fix compile with clang++/osx

This adds a makefile to build the command line program + a minor fix to avoid this compile error:

```sh
linebreak.cpp:230:46: error: ISO C++ forbids forward references to 'enum' types
int classifyLnBrk(const LPTSTR pszText, enum break_class * pcls,  int cch);
                                             ^
linebreak.cpp:231:46: error: ISO C++ forbids forward references to 'enum' types
int findLineBrk(enum break_class *pcls, enum break_action *pbrk, int cch, bool fTailorCMSP = false);
```