Add prog/CMakeLists.txt
add root CMakeLists.txt
Move xtractprotos.c
Fix file extension
Build xtractprotos and liblept
Add necessary include directories
Link to standard math library
install lept.pc correctly
Fix build of dwamorph1_reg and dwamorph2_reg