Sunwait calculates sunrise or sunset times with civil, nautical, astronomical and custom twilights, for use with Windows Task Scheduler or 'cron' on Linux.
Since this is a C++ program, use $(CXX) (which defaults to c++) instead of $(C) (which is currently hardcoded to gcc). This eliminates the need to hardcode linkage of a C++ standard library, which helps on platforms where libc++ is the standard library instead of libstdc++.
This builds on pull request #34, which fixes compiler errors.
Since this is a C++ program, use $(CXX) (which defaults to c++) instead of $(C) (which is currently hardcoded to gcc). This eliminates the need to hardcode linkage of a C++ standard library, which helps on platforms where libc++ is the standard library instead of libstdc++.
This builds on pull request #34, which fixes compiler errors.